Skip to content

Commit

Permalink
[SPARC32]: Fix sparc32 kdebug changes.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Robert Reif authored and David S. Miller committed May 14, 2007
1 parent 9ac6d4a commit 19fce2b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion arch/sparc/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
8 changes: 4 additions & 4 deletions include/asm-sparc/kdebug.h
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand All @@ -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) */

0 comments on commit 19fce2b

Please sign in to comment.