ppc64: add paranoid warnings for unexpected DSISR_PROTFAULT
authorMel Gorman <[email protected]>
Thu, 12 Feb 2015 22:58:25 +0000 (14:58 -0800)
committerLinus Torvalds <[email protected]>
Fri, 13 Feb 2015 02:54:08 +0000 (18:54 -0800)
commit842915f56667f9eebd85932f08c79565148c26d6
tree4d8f962c206f28965c8d94da40d6237b94ce8f66
parent8a0516ed8b90c95ffa1363b420caa37418149f21
ppc64: add paranoid warnings for unexpected DSISR_PROTFAULT

ppc64 should not be depending on DSISR_PROTFAULT and it's unexpected if
they are triggered.  This patch adds warnings just in case they are being
accidentally depended upon.

Signed-off-by: Mel Gorman <[email protected]>
Acked-by: Aneesh Kumar K.V <[email protected]>
Tested-by: Sasha Levin <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Dave Jones <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Kirill Shutemov <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Rik van Riel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/powerpc/mm/copro_fault.c
arch/powerpc/mm/fault.c