diff options
Diffstat (limited to 'arch/x86/mm/fault_64.c')
-rw-r--r-- | arch/x86/mm/fault_64.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/mm/fault_64.c b/arch/x86/mm/fault_64.c index dcf430bb62ee..058b04cb96d4 100644 --- a/arch/x86/mm/fault_64.c +++ b/arch/x86/mm/fault_64.c | |||
@@ -39,10 +39,10 @@ | |||
39 | * bit 3 == 1 means use of reserved bit detected | 39 | * bit 3 == 1 means use of reserved bit detected |
40 | * bit 4 == 1 means fault was an instruction fetch | 40 | * bit 4 == 1 means fault was an instruction fetch |
41 | */ | 41 | */ |
42 | #define PF_PROT (1<<0) | 42 | #define PF_PROT (1<<0) |
43 | #define PF_WRITE (1<<1) | 43 | #define PF_WRITE (1<<1) |
44 | #define PF_USER (1<<2) | 44 | #define PF_USER (1<<2) |
45 | #define PF_RSVD (1<<3) | 45 | #define PF_RSVD (1<<3) |
46 | #define PF_INSTR (1<<4) | 46 | #define PF_INSTR (1<<4) |
47 | 47 | ||
48 | static inline int notify_page_fault(struct pt_regs *regs) | 48 | static inline int notify_page_fault(struct pt_regs *regs) |