Skip to content

Commit 97249f0

Browse files
committed
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
2 parents d6b7822 + c22ef56 commit 97249f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/include/asm/alternative.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#define ALT_FLAGS_SHIFT 16
1010

11-
#define ALT_FLAG_NOT BIT(0)
11+
#define ALT_FLAG_NOT (1 << 0)
1212
#define ALT_NOT(feature) ((ALT_FLAG_NOT << ALT_FLAGS_SHIFT) | (feature))
1313

1414
#ifndef __ASSEMBLY__

0 commit comments

Comments
 (0)