Hello.

This patch moves the CONFIG_TRAP_BAD_SYSCALL_EXIT
from "Executable file formats" section to the
KGDB section. I had real problems finding that
option where it was.

Signed-off-by: Stas Sergeev <[EMAIL PROTECTED]>
--- linux/arch/i386/Kconfig.old	2005-04-12 09:47:38.000000000 +0400
+++ linux/arch/i386/Kconfig	2005-04-12 09:56:48.000000000 +0400
@@ -1267,14 +1267,6 @@
 
 source "fs/Kconfig.binfmt"
 
-config TRAP_BAD_SYSCALL_EXITS
-	bool "Debug bad system call exits"
-	depends on KGDB
-	help
-	  If you say Y here the kernel will check for system calls which
-	  return without clearing preempt.
-        default n
-
 endmenu
 
 source "drivers/Kconfig"
--- linux/arch/i386/Kconfig.kgdb.old	2005-04-12 09:47:38.000000000 +0400
+++ linux/arch/i386/Kconfig.kgdb	2005-04-12 09:57:11.000000000 +0400
@@ -140,6 +140,14 @@
 	  to check for kernel stack overflow on interrupts and system
 	  calls.  This is part of the kgdb code on x86 systems.
 
+config TRAP_BAD_SYSCALL_EXITS
+	bool "Debug bad system call exits"
+	depends on KGDB
+	help
+	  If you say Y here the kernel will check for system calls which
+	  return without clearing preempt.
+        default n
+
 config KGDB_CONSOLE
 	bool "Enable serial console thru kgdb port"
 	depends on KGDB

Reply via email to