aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/entry.S
diff options
context:
space:
mode:
authorStas Sergeev <stsp@aknet.ru>2005-05-01 11:58:49 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-01 11:58:49 -0400
commit48c88211a65bc30f030fe228bda30fda870deb90 (patch)
tree16990884e35cfd2fad7343494eef37b70b4614ba /arch/i386/kernel/entry.S
parenta2f7c354159b87dfbd9900f597d48d18755a9d16 (diff)
[PATCH] x86: entry.S trap return fixes
do_debug() and do_int3() return void. This patch fixes the CONFIG_KPROBES variant of do_int3() to return void too and adjusts entry.S accordingly. Signed-off-by: Stas Sergeev <stsp@aknet.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/i386/kernel/entry.S')
-rw-r--r--arch/i386/kernel/entry.S4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/i386/kernel/entry.S b/arch/i386/kernel/entry.S
index fe1918cc68d1..25bf7589e0c4 100644
--- a/arch/i386/kernel/entry.S
+++ b/arch/i386/kernel/entry.S
@@ -514,8 +514,6 @@ debug_stack_correct:
514 xorl %edx,%edx # error code 0 514 xorl %edx,%edx # error code 0
515 movl %esp,%eax # pt_regs pointer 515 movl %esp,%eax # pt_regs pointer
516 call do_debug 516 call do_debug
517 testl %eax,%eax
518 jnz restore_all
519 jmp ret_from_exception 517 jmp ret_from_exception
520 518
521/* 519/*
@@ -596,8 +594,6 @@ ENTRY(int3)
596 xorl %edx,%edx # zero error code 594 xorl %edx,%edx # zero error code
597 movl %esp,%eax # pt_regs pointer 595 movl %esp,%eax # pt_regs pointer
598 call do_int3 596 call do_int3
599 testl %eax,%eax
600 jnz restore_all
601 jmp ret_from_exception 597 jmp ret_from_exception
602 598
603ENTRY(overflow) 599ENTRY(overflow)