Lines Matching +full:alternative +full:- +full:a
1 /* SPDX-License-Identifier: GPL-2.0 */
7 #define ALT_COND_NO_DCACHE 0x02 /* if system has no d-cache */
8 #define ALT_COND_NO_ICACHE 0x04 /* if system has no i-cache */
35 /* Alternative SMP implementation. */
36 #define ALTERNATIVE(cond, replacement) "!0:" \ macro
37 ".section .altinstructions, \"a\" !" \
39 ".word (0b-4-.) !" \
46 /* to replace one single instructions by a new instruction */
47 #define ALTERNATIVE(from, to, cond, replacement)\ macro
48 .section .altinstructions, "a" ! \
50 .word (from - .) ! \
51 .hword (to - from)/4, cond ! \
57 .section .altinstructions, "a" ! \
59 .word (from - .) ! \
60 .hword -num_instructions, cond ! \
61 .word (new_instr_ptr - .) ! \