summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-04-23 08:03:57 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2023-04-23 08:03:57 -0700
commit97249f05b27385b7f870d8e2e6062e26e5f132e8 (patch)
tree3f0f54aa62ea96237c1cc40f9f60a8172864608c
parentd6b78224c65e395db6aa66ea74522d9899c8aefb (diff)
parentc22ef5684b64a3a1ac08db06a6f327f2695fd377 (diff)
downloadlinux-stable-97249f05b27385b7f870d8e2e6062e26e5f132e8.tar.gz
linux-stable-97249f05b27385b7f870d8e2e6062e26e5f132e8.tar.bz2
linux-stable-97249f05b27385b7f870d8e2e6062e26e5f132e8.zip
Merge tag 'x86_urgent_for_v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 fix from Borislav Petkov - Fix for older binutils which do not support C-syntax constant suffixes * tag 'x86_urgent_for_v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/alternatives: Do not use integer constant suffixes in inline asm
-rw-r--r--arch/x86/include/asm/alternative.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/alternative.h b/arch/x86/include/asm/alternative.h
index e2975a32d443..d7da28fada87 100644
--- a/arch/x86/include/asm/alternative.h
+++ b/arch/x86/include/asm/alternative.h
@@ -8,7 +8,7 @@
#define ALT_FLAGS_SHIFT 16
-#define ALT_FLAG_NOT BIT(0)
+#define ALT_FLAG_NOT (1 << 0)
#define ALT_NOT(feature) ((ALT_FLAG_NOT << ALT_FLAGS_SHIFT) | (feature))
#ifndef __ASSEMBLY__