1 ! SPDX-License-Identifier: GPL-2.0
16 #ifdef CONFIG_CPU_HAS_SR_RB
23 .macro get_current_thread_info, ti, tmp
24 #ifdef CONFIG_CPU_HAS_SR_RB
27 mov #((THREAD_SIZE - 1) >> 10) ^ 0xff, \tmp
35 #ifdef CONFIG_TRACE_IRQFLAGS
64 7834: .long trace_hardirqs_on
95 7834: .long trace_hardirqs_off
103 .macro TRACE_IRQS_OFF
107 #if defined(CONFIG_CPU_SH2A) || defined(CONFIG_CPU_SH4)
108 # define PREF(x) pref @x
114 * Macro for use within assembly. Because the DWARF unwinder
115 * needs to use the frame register to unwind the stack, we
116 * need to setup r14 with the value of the stack pointer as
117 * the return address is usually on the stack somewhere.
119 .macro setup_frame_reg
120 #ifdef CONFIG_DWARF_UNWINDER