aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-01-30 07:32:53 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:32:53 -0500
commit8a19da7b7f16d8360e39035f6ab96686e835522b (patch)
tree6d52db1157fed3279b2d3feb57063a776795bbd8 /arch
parent8c1c9356429741a82ff176d0f3400fb9e06b2a30 (diff)
x86: clean up arch/x86/mm/fault_64.c
clean up arch/x86/mm/fault_64.c a bit. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/mm/fault_64.c6
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
48static inline int notify_page_fault(struct pt_regs *regs) 48static inline int notify_page_fault(struct pt_regs *regs)