mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 14:44:10 +08:00
[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:
parent
9ac6d4a4b8
commit
19fce2b966
@ -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)
|
|||||||
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) */
|
||||||
|
Loading…
Reference in New Issue
Block a user