x86, smap: A page fault due to SMAP is an oops
authorH. Peter Anvin <hpa@linux.intel.com>
Fri, 21 Sep 2012 19:43:14 +0000 (12:43 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 21 Sep 2012 19:45:27 +0000 (12:45 -0700)
commit40d3cd6695014bf3c44e2ca66b610b18acaf923d
tree535ecc7a30ea16221efbd16fcd1717e8ed4b6183
parent52b6179ac87d33c2eeaff5292786a10fe98cff64
x86, smap: A page fault due to SMAP is an oops

If we get a page fault due to SMAP, trigger an oops rather than
spinning forever.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Link: http://lkml.kernel.org/r/1348256595-29119-11-git-send-email-hpa@linux.intel.com
arch/x86/mm/fault.c