aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorIngo Molnar <[email protected]>2009-02-20 22:18:08 +0100
committerIngo Molnar <[email protected]>2009-02-21 00:09:41 +0100
commit121d5d0a7e5808fbcfda484efd7ba840ac93450f (patch)
tree666785943c648f8119b8533c9b640dbc37fb23b4 /drivers/mtd/lpddr/lpddr_cmds.c
parent8c938f9fae887f6e180bf802aa1c33cf74712aff (diff)
x86, mm: fault.c, enable PF_RSVD checks on 32-bit too
Impact: improve page fault handling robustness The 'PF_RSVD' flag (bit 3) of the page-fault error_code is a relatively recent addition to x86 CPUs, so the 32-bit do_fault() implementation never had it. This flag gets set when the CPU detects nonzero values in any reserved bits of the page directory entries. Extend the existing 64-bit check for PF_RSVD in do_page_fault() to 32-bit too. If we detect such a fault then we print a more informative oops and the pagetables. This unifies the code some more, removes an ugly #ifdef and improves the 32-bit page fault code robustness a bit. It slightly increases the 32-bit kernel text size. Cc: Linus Torvalds <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions