i386: remove kprobes' restore_interrupts in favour of conditional_sti
authorAlexander van Heukelum <heukelum@fastmail.fm>
Tue, 9 Sep 2008 19:55:55 +0000 (21:55 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 13 Oct 2008 08:20:02 +0000 (10:20 +0200)
commit762db4347060c5d23e9675846e02f7d95d7f944f
tree39267b2c53f6525d8f9a95c1bdb6848205362095
parent927604c7592473742891dc13e1da09febc06e01b
i386: remove kprobes' restore_interrupts in favour of conditional_sti

x86_64 uses a helper function conditional_sti in traps_64.c which
is equal to restore_interrupts in kprobes.h. The only user of
restore_interrupts is in traps_32.c. Introduce conditional_sti
for i386 and remove restore_interrupts.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/traps_32.c
include/asm-x86/kprobes.h