summaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/fault_64.c
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/fault_64.c
parent8c1c9356429741a82ff176d0f3400fb9e06b2a30 (diff)
downloadop-kernel-dev-8a19da7b7f16d8360e39035f6ab96686e835522b.zip
op-kernel-dev-8a19da7b7f16d8360e39035f6ab96686e835522b.tar.gz
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/fault_64.c')
-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 dcf430b..058b04c 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)
OpenPOWER on IntegriCloud