aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-01-30 13:32:53 +0100
committerIngo Molnar <mingo@elte.hu>2008-01-30 13:32:53 +0100
commit8a19da7b7f16d8360e39035f6ab96686e835522b (patch)
tree6d52db1157fed3279b2d3feb57063a776795bbd8 /arch/x86/mm
parentx86: kprobes: add kprobes smoke tests that run on boot (diff)
downloadlinux-dev-8a19da7b7f16d8360e39035f6ab96686e835522b.tar.xz
linux-dev-8a19da7b7f16d8360e39035f6ab96686e835522b.zip
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/x86/mm')
-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 @@
* bit 3 == 1 means use of reserved bit detected
* 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_USER (1<<2)
-#define PF_RSVD (1<<3)
+#define PF_USER (1<<2)
+#define PF_RSVD (1<<3)
#define PF_INSTR (1<<4)
static inline int notify_page_fault(struct pt_regs *regs)