Re: [PATCH 5/8] kgdb, x86: Add arch specfic kgdb support

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jan Kiszka
Date: Saturday, February 9, 2008 - 7:33 am

jason.wessel@windriver.com wrote:

Please fold into the next version:

diff --git a/include/asm-x86/kgdb.h b/include/asm-x86/kgdb.h
index c2803a8..0ba150b 100644
--- a/include/asm-x86/kgdb.h
+++ b/include/asm-x86/kgdb.h
@@ -1,4 +1,3 @@
-#ifdef __KERNEL__
 #ifndef _ASM_KGDB_H_
 #define _ASM_KGDB_H_
 
@@ -70,10 +69,7 @@ enum regnames { _AX,	/* 0 */
 #define NUMREGBYTES		((_PS+1)*8)
 #endif /* CONFIG_X86_32 */
 
-#ifndef __ASSEMBLY__
 #define BREAKPOINT()		asm("   int $3");
 #define BREAK_INSTR_SIZE	1
 #define CACHE_FLUSH_IS_SAFE	1
-#endif				/* !__ASSEMBLY__ */
-#endif				/* _ASM_KGDB_H_ */
-#endif				/* __KERNEL__ */
+#endif /* _ASM_KGDB_H_ */

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 5/8] kgdb, x86: Add arch specfic kgdb support, jason.wessel, (Sat Feb 9, 6:35 am)
[PATCH 6/8] kgdb, sysrq_bugfix, jason.wessel, (Sat Feb 9, 6:35 am)
Re: [PATCH 5/8] kgdb, x86: Add arch specfic kgdb support, Jan Kiszka, (Sat Feb 9, 7:33 am)