Commit 8a19da7b authored by Ingo Molnar's avatar Ingo Molnar
Browse files

x86: clean up arch/x86/mm/fault_64.c



clean up arch/x86/mm/fault_64.c a bit.
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 8c1c9356
...@@ -39,10 +39,10 @@ ...@@ -39,10 +39,10 @@
* bit 3 == 1 means use of reserved bit detected * bit 3 == 1 means use of reserved bit detected
* bit 4 == 1 means fault was an instruction fetch * bit 4 == 1 means fault was an instruction fetch
*/ */
#define PF_PROT (1<<0) #define PF_PROT (1<<0)
#define PF_WRITE (1<<1) #define PF_WRITE (1<<1)
#define PF_USER (1<<2) #define PF_USER (1<<2)
#define PF_RSVD (1<<3) #define PF_RSVD (1<<3)
#define PF_INSTR (1<<4) #define PF_INSTR (1<<4)
static inline int notify_page_fault(struct pt_regs *regs) static inline int notify_page_fault(struct pt_regs *regs)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment