diff options
author | Kevin Hao <haokexin@gmail.com> | 2016-07-23 12:12:42 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-08-01 04:15:06 +0300 |
commit | c12e6f24d4137822d5019c1f78ac65bd27a3447d (patch) | |
tree | 7ebc50a5a62a36e89dc90e801da4f00e59633622 /arch/powerpc/include/asm/cpu_has_feature.h | |
parent | 4db7327194dba0cb91f274b0f606785a9ee5108d (diff) | |
download | linux-c12e6f24d4137822d5019c1f78ac65bd27a3447d.tar.xz |
powerpc: Add option to use jump label for mmu_has_feature()
As we just did for CPU features.
Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/cpu_has_feature.h')
-rw-r--r-- | arch/powerpc/include/asm/cpu_has_feature.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/cpu_has_feature.h b/arch/powerpc/include/asm/cpu_has_feature.h index b9ce6425fdea..039c011b4252 100644 --- a/arch/powerpc/include/asm/cpu_has_feature.h +++ b/arch/powerpc/include/asm/cpu_has_feature.h @@ -3,6 +3,7 @@ #ifndef __ASSEMBLY__ +#include <linux/bug.h> #include <asm/cputable.h> static inline bool early_cpu_has_feature(unsigned long feature) |