Lines Matching +full:smp +full:- +full:offset
1 /* SPDX-License-Identifier: GPL-2.0 */
24 * Alternative inline assembly for SMP.
29 * SMP alternatives use the same data structures as the other
31 * UP system running a SMP kernel. The existing apply_alternatives()
32 * works fine for patching a SMP kernel for UP.
34 * The SMP alternative tables can be kept after boot and contain both
35 * UP and SMP versions of the instructions to allow switching back to
36 * SMP at runtime, when hotplugging in a new CPU, which is especially
48 ".long 671f - .\n" /* offset */ \
70 s32 repl_offset; /* offset to replacement instruction */
181 #define alt_slen "772b-771b"
182 #define alt_total_slen "773b-771b"
183 #define alt_rlen "775f-774f"
189 ".skip -(((" alt_rlen ")-(" alt_slen ")) > 0) * " \
190 "((" alt_rlen ")-(" alt_slen ")),0x90\n" \
195 " .long 771b - .\n" /* label */ \
196 " .long 774f - .\n" /* new instruction */ \
265 * constant expression with all syntax-specific punctuation omitted. %P
266 * is the x86-specific variant which can handle constants too, for
306 ".size " #func ", . - " #func "\n\t" \
319 .long 672b - .
334 .long \orig - .
335 .long \alt - .
355 .skip -(((744f-743f)-(741b-740b)) > 0) * ((744f-743f)-(741b-740b)),0x90 ;\
358 altinstr_entry 740b,743f,flag,742b-740b,744f-743f ; \
370 #define old_len 141b-140b
371 #define new_len1 144f-143f
372 #define new_len2 145f-144f
373 #define new_len3 146f-145f