diff options
author | 2016-05-25 12:51:20 -0700 | |
---|---|---|
committer | 2016-05-25 12:51:32 -0700 | |
commit | 9ea46abe22550e3366ff7cee2f8391b35b12f730 (patch) | |
tree | 003c9dc20c48b0e75594c9dce095accd33ed55c4 /net/unix/af_unix.c | |
parent | Merge tag 'pwm/for-4.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm (diff) | |
download | wireguard-linux-9ea46abe22550e3366ff7cee2f8391b35b12f730.tar.xz wireguard-linux-9ea46abe22550e3366ff7cee2f8391b35b12f730.zip |
sparc64: Take ctx_alloc_lock properly in hugetlb_setup().
On cheetahplus chips we take the ctx_alloc_lock in order to
modify the TLB lookup parameters for the indexed TLBs, which
are stored in the context register.
This is called with interrupts disabled, however ctx_alloc_lock
is an IRQ safe lock, therefore we must take acquire/release it
properly with spin_{lock,unlock}_irq().
Reported-by: Meelis Roos <mroos@linux.ee>
Tested-by: Meelis Roos <mroos@linux.ee>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions