summaryrefslogtreecommitdiff
path: root/net/atm/common.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2013-03-20 17:06:20 (GMT)
committerScott Wood <scottwood@freescale.com>2013-04-04 22:09:40 (GMT)
commit18b4ed55ef83e77e8df2c45f1a99ffc6e5c07db6 (patch)
treee8441a32ac099c5b1a44507bdc0c499ece030c18 /net/atm/common.c
parent14e27282bb54af3db98aa29fcd83895438a3bc98 (diff)
downloadlinux-fsl-qoriq-18b4ed55ef83e77e8df2c45f1a99ffc6e5c07db6.tar.xz
net: make devnet_rename_seq a mutex
On RT write_seqcount_begin() disables preemption and device_rename() allocates memory with GFP_KERNEL and grabs later the sysfs_mutex mutex. Since I don't see a reason why this can't be a mutex, make it one. We probably don't have that much reads at the same time in the hot path. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Diffstat (limited to 'net/atm/common.c')
0 files changed, 0 insertions, 0 deletions