Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/linux-2.6-kgdb
* 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/linux-2.6-kgdb: sparc,kgdbts: fix compile regression with kgdb test suite
This commit is contained in:
commit
1f922d0770
|
@ -205,6 +205,7 @@ do { current_thread_info()->syscall_noerror = 1; \
|
||||||
} while (0)
|
} while (0)
|
||||||
#define user_mode(regs) (!((regs)->tstate & TSTATE_PRIV))
|
#define user_mode(regs) (!((regs)->tstate & TSTATE_PRIV))
|
||||||
#define instruction_pointer(regs) ((regs)->tpc)
|
#define instruction_pointer(regs) ((regs)->tpc)
|
||||||
|
#define instruction_pointer_set(regs, val) ((regs)->tpc = (val))
|
||||||
#define user_stack_pointer(regs) ((regs)->u_regs[UREG_FP])
|
#define user_stack_pointer(regs) ((regs)->u_regs[UREG_FP])
|
||||||
#define regs_return_value(regs) ((regs)->u_regs[UREG_I0])
|
#define regs_return_value(regs) ((regs)->u_regs[UREG_I0])
|
||||||
#ifdef CONFIG_SMP
|
#ifdef CONFIG_SMP
|
||||||
|
|
Loading…
Reference in New Issue