]> git.baikalelectronics.ru Git - kernel.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)
commitbbe881a6434fa7a1df7531e76fd59c1dee8b6a9f
tree9edd93074c68ffbfff5ee8800bc44ff34938cc7c
parent62322c4bc784e6cecdd5175befd8d2c5308c5d84
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