Commit 19fce2b9 authored by Robert Reif's avatar Robert Reif Committed by David S. Miller

[SPARC32]: Fix sparc32 kdebug changes.

Fix recent kdebug changes to compile on sparc32.
Signed-off-by: default avatarRobert Reif <reif@earthlink.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9ac6d4a4
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include <asm/ptrace.h> #include <asm/ptrace.h>
#include <asm/psr.h> #include <asm/psr.h>
#include <asm/page.h> #include <asm/page.h>
#include <linux/kdebug.h> #include <asm/kdebug.h>
#include <asm/winmacro.h> #include <asm/winmacro.h>
#include <asm/thread_info.h> /* TI_UWINMASK */ #include <asm/thread_info.h> /* TI_UWINMASK */
#include <asm/errno.h> #include <asm/errno.h>
......
...@@ -58,6 +58,10 @@ static inline void sp_enter_debugger(void) ...@@ -58,6 +58,10 @@ static inline void sp_enter_debugger(void)
sp_enter_debugger(); \ sp_enter_debugger(); \
} while(0) } while(0)
enum die_val {
DIE_UNUSED,
};
#endif /* !(__ASSEMBLY__) */ #endif /* !(__ASSEMBLY__) */
/* Some nice offset defines for assembler code. */ /* Some nice offset defines for assembler code. */
...@@ -66,8 +70,4 @@ static inline void sp_enter_debugger(void) ...@@ -66,8 +70,4 @@ static inline void sp_enter_debugger(void)
#define KDEBUG_DUNNO2_OFF 0x8 #define KDEBUG_DUNNO2_OFF 0x8
#define KDEBUG_TEACH_OFF 0xc #define KDEBUG_TEACH_OFF 0xc
enum die_val {
DIE_UNUSED,
};
#endif /* !(_SPARC_KDEBUG_H) */ #endif /* !(_SPARC_KDEBUG_H) */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment