]> git.karo-electronics.de Git - linux-beck.git/commit
x86/asm/entry/32: Fix user_mode() misuses
authorAndy Lutomirski <luto@amacapital.net>
Tue, 10 Mar 2015 00:42:31 +0000 (17:42 -0700)
committerIngo Molnar <mingo@kernel.org>
Tue, 10 Mar 2015 03:21:51 +0000 (04:21 +0100)
commit394838c96013ba414a24ffe7a2a593a9154daadf
treecd067f8daf7042d9ec8fe4750106e352c6d5e620
parente893286918d2cde3a94850d8f7101cd1039e0c62
x86/asm/entry/32: Fix user_mode() misuses

The one in do_debug() is probably harmless, but better safe than sorry.

Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Cc: <stable@vger.kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dave Hansen <dave.hansen@linux.intel.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/d67deaa9df5458363623001f252d1aee3215d014.1425948056.git.luto@amacapital.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/traps.c