aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/fault_64.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-01-30 07:32:59 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:32:59 -0500
commit318aa296c329625916c47703eab906d6ebf13930 (patch)
treeb62ce3ff3c281f1f85eb9f73cdc2dbbbc8fd07e4 /arch/x86/mm/fault_64.c
parenta604b38036bee1483fb98a520c69895d5d6276a6 (diff)
x86: more users of PF_ constants in fault_32|64.c
Should be the last of the error_code tests that could use the PF_ defines. Makes X86_32|64 a little closer. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/fault_64.c b/arch/x86/mm/fault_64.c
index 058b04cb96d..95f142f5b5c 100644
--- a/arch/x86/mm/fault_64.c
+++ b/arch/x86/mm/fault_64.c
@@ -677,7 +677,7 @@ out_of_memory:
677 goto again; 677 goto again;
678 } 678 }
679 printk("VM: killing process %s\n", tsk->comm); 679 printk("VM: killing process %s\n", tsk->comm);
680 if (error_code & 4) 680 if (error_code & PF_USER)
681 do_group_exit(SIGKILL); 681 do_group_exit(SIGKILL);
682 goto no_context; 682 goto no_context;
683 683