summaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2025-12-18 11:47:38 +0100
committerPeter Zijlstra <peterz@infradead.org>2025-12-18 11:55:40 +0100
commitc56a12c71ad38f381105f6e5036dede64ad2dfee (patch)
tree9e8a14c1348220f5f77aa14e48af6be5ff3523ae /lib/string_helpers.c
parent0edc78b82bea85e1b2165d8e870a5c3535919695 (diff)
x86/bug: Fix old GCC compile fails
For some mysterious reasons the GCC 8 and 9 preprocessor manages to sporadically fumble _ASM_BYTES(0x0f, 0x0b): $ grep ".byte[ ]*0x0f" defconfig-build/drivers/net/wireless/realtek/rtlwifi/base.s 1: .byte0x0f,0x0b ; 1: .byte 0x0f,0x0b ; which makes the assembler upset and all that. While there are more _ASM_BYTES() users (notably the NOP instructions), those don't seem affected. Therefore replace the offending ASM_UD2 with one using the ud2 mnemonic. Reported-by: Jean Delvare <jdelvare@suse.de> Suggested-by: Uros Bizjak <ubizjak@gmail.com> Fixes: 85a2d4a890dc ("x86,ibt: Use UDB instead of 0xEA") Cc: stable@kernel.org Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://patch.msgid.link/20251218104659.GT3911114@noisy.programming.kicks-ass.net
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions