Lines Matching +full:smp +full:- +full:offset
1 /* SPDX-License-Identifier: GPL-2.0 */
23 * Alternative inline assembly for SMP.
28 * SMP alternatives use the same data structures as the other
30 * UP system running a SMP kernel. The existing apply_alternatives()
31 * works fine for patching a SMP kernel for UP.
33 * The SMP alternative tables can be kept after boot and contain both
34 * UP and SMP versions of the instructions to allow switching back to
35 * SMP at runtime, when hotplugging in a new CPU, which is especially
47 ".long 671f - .\n" /* offset */ \
69 s32 repl_offset; /* offset to replacement instruction */
150 #define alt_slen "772b-771b"
151 #define alt_total_slen "773b-771b"
152 #define alt_rlen "775f-774f"
158 ".skip -(((" alt_rlen ")-(" alt_slen ")) > 0) * " \
159 "((" alt_rlen ")-(" alt_slen ")),0x90\n" \
164 " .long 771b - .\n" /* label */ \
165 " .long 774f - .\n" /* new instruction */ \
234 * constant expression with all syntax-specific punctuation omitted. %P
235 * is the x86-specific variant which can handle constants too, for
283 ".size " #func ", . - " #func "\n\t" \
296 .long 672b - .
311 .long \orig - .
312 .long \alt - .
332 .skip -(((744f-743f)-(741b-740b)) > 0) * ((744f-743f)-(741b-740b)),0x90 ;\
335 altinstr_entry 740b,743f,flag,742b-740b,744f-743f ; \
347 #define old_len 141b-140b
348 #define new_len1 144f-143f
349 #define new_len2 145f-144f
350 #define new_len3 146f-145f