diff options
author | Andy Lutomirski <luto@kernel.org> | 2015-03-18 21:33:33 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-03-23 06:14:17 -0400 |
commit | f39b6f0ef855a38ea17329a4e621ff97750dfcc2 (patch) | |
tree | cd48920fe79749ce00ee70c8ad44f3d6c89d6a48 /drivers | |
parent | efa704510342b81ae58d7b8a0c7f676a4289b603 (diff) |
x86/asm/entry: Change all 'user_mode_vm()' calls to 'user_mode()'
user_mode_vm() and user_mode() are now the same. Change all callers
of user_mode_vm() to user_mode().
The next patch will remove the definition of user_mode_vm.
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brad Spengler <spender@grsecurity.net>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/43b1f57f3df70df5a08b0925897c660725015554.1426728647.git.luto@kernel.org
[ Merged to a more recent kernel. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/misc/sgi-xp/xpc_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/sgi-xp/xpc_main.c b/drivers/misc/sgi-xp/xpc_main.c index 82dc5748f873..7f327121e6d7 100644 --- a/drivers/misc/sgi-xp/xpc_main.c +++ b/drivers/misc/sgi-xp/xpc_main.c | |||
@@ -1210,7 +1210,7 @@ xpc_system_die(struct notifier_block *nb, unsigned long event, void *_die_args) | |||
1210 | 1210 | ||
1211 | if (((die_args->trapnr == X86_TRAP_MF) || | 1211 | if (((die_args->trapnr == X86_TRAP_MF) || |
1212 | (die_args->trapnr == X86_TRAP_XF)) && | 1212 | (die_args->trapnr == X86_TRAP_XF)) && |
1213 | !user_mode_vm(die_args->regs)) | 1213 | !user_mode(die_args->regs)) |
1214 | xpc_die_deactivate(); | 1214 | xpc_die_deactivate(); |
1215 | 1215 | ||
1216 | break; | 1216 | break; |