commit | 95f715b08fa4a953771398d20cbe35a6803ea41d | [log] [tgz] |
---|---|---|
author | Heiko Carstens <heiko.carstens@de.ibm.com> | Thu Nov 14 15:01:43 2013 +1100 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Thu Nov 21 10:33:37 2013 +1100 |
tree | 6ccc7e13cb8a501232b3d5b153222fe5cb3c4b7b | |
parent | 0b5381a61821d1c074c76e01b27bf5f69cf2dd01 [diff] |
powerpc: Fix __get_user_pages_fast() irq handling __get_user_pages_fast() may be called with interrupts disabled (see e.g. get_futex_key() in kernel/futex.c) and therefore should use local_irq_save() and local_irq_restore() instead of local_irq_disable()/enable(). Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> CC: <stable@vger.kernel.org> [v3.12] Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>