]> err.no Git - linux-2.6/commit
x86: traps_xx: restructure do_general_protection()
authorAlexander van Heukelum <heukelum@mailshack.com>
Tue, 1 Jul 2008 23:32:04 +0000 (01:32 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 9 Jul 2008 06:18:07 +0000 (08:18 +0200)
commit13485ab55bc77f02024e80bcca0374950b0becb3
tree3f959112d6c70827319a61a415f70e34f79cbbf1
parenta7bbb0ce1d1f956c8491b925c74767adf654f373
x86: traps_xx: restructure do_general_protection()

 - if (cond) block -> if (!cond) goto end_of_block
 - local caching of current

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Acked-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/traps_32.c
arch/x86/kernel/traps_64.c