]> git.baikalelectronics.ru Git - kernel.git/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)
commit48ec8371e7ab9c4e54d0032bb51a5b94c8b8415d
tree3f959112d6c70827319a61a415f70e34f79cbbf1
parent345d3bd4fa2d802cf25a163642b03fb34903b7eb
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