[SPARC32]: Fix sparc32 kdebug changes.
authorRobert Reif <reif@earthlink.net>
Mon, 14 May 2007 10:22:08 +0000 (03:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 May 2007 10:22:08 +0000 (03:22 -0700)
Fix recent kdebug changes to compile on sparc32.

Signed-off-by: Robert Reif <reif@earthlink.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/head.S
include/asm-sparc/kdebug.h

index 97da13c525639acfec602ac841f03a3ed29566fc..9a219e8b5ddb3edb8f6726764b7cff7cf43a8f86 100644 (file)
@@ -19,7 +19,7 @@
 #include <asm/ptrace.h>
 #include <asm/psr.h>
 #include <asm/page.h>
-#include <linux/kdebug.h>
+#include <asm/kdebug.h>
 #include <asm/winmacro.h>
 #include <asm/thread_info.h>   /* TI_UWINMASK */
 #include <asm/errno.h>
index 404d807673234b630c54a7298b1ea513f9f777ed..631f15ffef730c62b47edda3724af035c98763b6 100644 (file)
@@ -58,6 +58,10 @@ static inline void sp_enter_debugger(void)
               sp_enter_debugger(); \
                       } while(0)
 
+enum die_val {
+       DIE_UNUSED,
+};
+
 #endif /* !(__ASSEMBLY__) */
 
 /* Some nice offset defines for assembler code. */
@@ -66,8 +70,4 @@ static inline void sp_enter_debugger(void)
 #define KDEBUG_DUNNO2_OFF   0x8
 #define KDEBUG_TEACH_OFF    0xc
 
-enum die_val {
-       DIE_UNUSED,
-};
-
 #endif /* !(_SPARC_KDEBUG_H) */