x86/bitops: Drop include of cpufeatureset
PATCH 1/1 x86/bitops: Drop include of cpufeatureset
Nothing in x86/bitops uses anything from x86/cpufeatureset, and it is creating problems when trying to untangle other aspects of feature handling.
---
CC: Jan Beulich <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Wei Liu <[email protected]>
--- xen/arch/x86/include/asm/bitops.h | 1 - 1 file changed, 1 deletion(-)
xen/arch/x86/include/asm/bitops.h +0 -1
@@ -6,7 +6,6 @@*/ #include <asm/alternative.h> -#include <asm/cpufeatureset.h> /* * We specify the memory operand as both input and output because the memory
Signature · 1 line
2.30.2
Quoted 17 lines · Andrew Cooper
Nothing in x86/bitops uses anything from x86/cpufeatureset, and it is creating problems when trying to untangle other aspects of feature handling.
Signed-off-by Andrew Cooper <[email protected]>---
CC: Jan Beulich <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Wei Liu <[email protected]>--- xen/arch/x86/include/asm/bitops.h | 1 - 1 file changed, 1 deletion(-)xen/arch/x86/include/asm/bitops.h +0
-0
xen/arch/x86/include/asm/bitops.h line 9
Quoted 4 lines
xen/arch/x86/include/asm/bitops.h +0
-1@@ -6,7 +6,6 @@*/ #include <asm/alternative.h> -#include <asm/cpufeatureset.h>
Prior to your 44325775f724 ("x86/cpuid: Untangle the <asm/cpufeature.h> include hierachy") it was asm/cpufeature.h that was included here, presumably for the use of X86_FEATURE_BMI1 in __scanbit(). I guess that wants to be asm/cpufeatures.h now instead?
Jan
Quoted 20 lines · Jan Beulich
Quoted 19 lines · Andrew Cooper
Nothing in x86/bitops uses anything from x86/cpufeatureset, and it is creating problems when trying to untangle other aspects of feature handling.
Signed-off-by Andrew Cooper <[email protected]>---
CC: Jan Beulich <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Wei Liu <[email protected]>--- xen/arch/x86/include/asm/bitops.h | 1 - 1 file changed, 1 deletion(-)xen/arch/x86/include/asm/bitops.h +0
-0@@ -6,7 +6,6 @@*/
Quoted 6 lines
xen/arch/x86/include/asm/bitops.h line 9
Quoted 2 lines
xen/arch/x86/include/asm/bitops.h +0
-1#include <asm/alternative.h> -#include <asm/cpufeatureset.h> Prior to your
44325775f724("x86/cpuid: Untangle the <asm/cpufeature.h> include hierachy") it wasasm/cpufeature.hthat was included here, presumably for the use ofX86_FEATURE_BMI1in__scanbit(). I guess that wants to beasm/cpufeatures.hnow instead?
Oh. I missed that, but nothing fails to compile, which means that there's a prior path including cpufeatureset anyway.
I think I'll drop this and leave the header rearranging to a later point. I ended up having to do the untangling differently anyway.
~Andrew