summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/cpu_has_feature.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-19 09:12:41 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-19 09:12:41 +0200
commitc51f2ff0075b77f272da93b7155aa666a77c8fe7 (patch)
treef229265a8d4b0407f2eaaa4fb6d1afb86ac380c5 /arch/powerpc/include/asm/cpu_has_feature.h
parenteddde288957957d45c42fcf51af9a059de7e0887 (diff)
parent3be7988674ab33565700a37b210f502563d932e6 (diff)
Merge 4.8-rc7 into usb-next
We want/need the USB fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/powerpc/include/asm/cpu_has_feature.h')
-rw-r--r--arch/powerpc/include/asm/cpu_has_feature.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/cpu_has_feature.h b/arch/powerpc/include/asm/cpu_has_feature.h
index 2ef55f8968a2..b312b152461b 100644
--- a/arch/powerpc/include/asm/cpu_has_feature.h
+++ b/arch/powerpc/include/asm/cpu_has_feature.h
@@ -15,7 +15,7 @@ static inline bool early_cpu_has_feature(unsigned long feature)
#ifdef CONFIG_JUMP_LABEL_FEATURE_CHECKS
#include <linux/jump_label.h>
-#define NUM_CPU_FTR_KEYS 64
+#define NUM_CPU_FTR_KEYS BITS_PER_LONG
extern struct static_key_true cpu_feature_keys[NUM_CPU_FTR_KEYS];