]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc: Add VM_FAULT_HWPOISON handling to powerpc page fault handler
authorAnton Blanchard <anton@samba.org>
Wed, 24 Sep 2014 06:59:57 +0000 (16:59 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 2 Oct 2014 07:15:13 +0000 (17:15 +1000)
commit3913fdd7a23d9d8480ce3a6ca9cdf78bf0dec5a0
tree9edd93074c68ffbfff5ee8800bc44ff34938cc7c
parent63af52629adcd1313c7db252f085263012ecd9db
powerpc: Add VM_FAULT_HWPOISON handling to powerpc page fault handler

do_page_fault was missing knowledge of HWPOISON, and we would oops
if userspace tried to access a poisoned page:

kernel BUG at arch/powerpc/mm/fault.c:180!

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/fault.c