15 #ifdef CONFIG_CPU_HAS_SR_RB
22 .macro get_current_thread_info, ti, tmp
23 #ifdef CONFIG_CPU_HAS_SR_RB
26 mov #((THREAD_SIZE - 1) >> 10) ^ 0xff, \tmp
34 #ifdef CONFIG_TRACE_IRQFLAGS
63 7834: .long trace_hardirqs_on
94 7834: .long trace_hardirqs_off
102 .macro TRACE_IRQS_OFF
106 #if defined(CONFIG_CPU_SH2A) || defined(CONFIG_CPU_SH4)
107 # define PREF(x) pref @x
113 * Macro for use within assembly. Because the DWARF unwinder
114 * needs to use the frame register to unwind the stack, we
115 * need to setup r14 with the value of the stack pointer as
116 * the return address is usually on the stack somewhere.
118 .macro setup_frame_reg
119 #ifdef CONFIG_DWARF_UNWINDER