David S. Miller 9ea46abe22 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>
2016-05-25 12:51:32 -07:00
..
2016-05-24 15:24:37 -07:00
2016-05-25 10:40:15 -07:00
2016-05-24 15:24:37 -07:00
2016-05-24 11:00:20 -07:00
2016-05-20 17:58:30 -07:00
2016-05-24 15:24:37 -07:00
2016-05-24 15:24:37 -07:00
2016-05-23 17:04:14 -07:00
2016-05-24 15:24:37 -07:00
2016-05-24 09:19:38 -07:00
2016-05-24 11:00:20 -07:00
2016-05-24 15:24:37 -07:00
2016-05-24 15:24:37 -07:00
2016-05-24 15:24:37 -07:00
2016-05-24 15:24:37 -07:00
2016-05-24 15:24:37 -07:00
2016-05-24 10:22:34 -07:00