mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
x86/msr-index: Cleanup bit defines
Greg pointed out that speculation related bit defines are using (1 << N) format instead of BIT(N). Aside of that (1 << N) is wrong as it should use 1UL at least. Clean it up. [ Josh Poimboeuf: Fix tools build ] Reported-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]> Reviewed-by: Borislav Petkov <[email protected]> Reviewed-by: Frederic Weisbecker <[email protected]> Reviewed-by: Jon Masters <[email protected]> Tested-by: Jon Masters <[email protected]>
This commit is contained in:
parent
1c163f4c7b
commit
d8eabc3731
3 changed files with 20 additions and 18 deletions
|
|
@ -9,7 +9,7 @@ ifeq ("$(origin O)", "command line")
|
|||
endif
|
||||
|
||||
turbostat : turbostat.c
|
||||
override CFLAGS += -Wall
|
||||
override CFLAGS += -Wall -I../../../include
|
||||
override CFLAGS += -DMSRHEADER='"../../../../arch/x86/include/asm/msr-index.h"'
|
||||
override CFLAGS += -DINTEL_FAMILY_HEADER='"../../../../arch/x86/include/asm/intel-family.h"'
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ ifeq ("$(origin O)", "command line")
|
|||
endif
|
||||
|
||||
x86_energy_perf_policy : x86_energy_perf_policy.c
|
||||
override CFLAGS += -Wall
|
||||
override CFLAGS += -Wall -I../../../include
|
||||
override CFLAGS += -DMSRHEADER='"../../../../arch/x86/include/asm/msr-index.h"'
|
||||
|
||||
%: %.c
|
||||
|
|
|
|||
Loading…
Reference in a new issue