[SPARC32]: Fix sparc32 kdebug changes.

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>
This commit is contained in:
Robert Reif 2007-05-14 03:22:08 -07:00 committed by David S. Miller
parent 9ac6d4a4b8
commit 19fce2b966
2 changed files with 5 additions and 5 deletions

View File

@ -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>

View File

@ -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)
#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) */