diff options
author | David S. Miller <davem@davemloft.net> | 2016-05-25 12:51:20 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-24 10:18:21 -0700 |
commit | 6bb3290ce9662055efcf13dc18c12bb62f6f39dc (patch) | |
tree | 72a9589262e752446b928c9e1a2f416bc16efa37 /drivers/Kconfig | |
parent | 87575e31be28afb08665f412ac269909c5911a33 (diff) | |
download | linux-stable-6bb3290ce9662055efcf13dc18c12bb62f6f39dc.tar.gz linux-stable-6bb3290ce9662055efcf13dc18c12bb62f6f39dc.tar.bz2 linux-stable-6bb3290ce9662055efcf13dc18c12bb62f6f39dc.zip |
sparc64: Take ctx_alloc_lock properly in hugetlb_setup().
[ Upstream commit 9ea46abe22550e3366ff7cee2f8391b35b12f730 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/Kconfig')
0 files changed, 0 insertions, 0 deletions