diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2018-07-05 16:25:01 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-07-30 22:48:17 +1000 |
commit | 2c86cd188f8a5631f3d75a1dea14d22df85189b4 (patch) | |
tree | 025e510205b3e2d750bef0c25707bea900082caa /arch/powerpc/lib | |
parent | 5c35a02c545a7bbe77f3a1ae337d9e29beed079b (diff) |
powerpc: clean inclusions of asm/feature-fixups.h
files not using feature fixup don't need asm/feature-fixups.h
files using feature fixup need asm/feature-fixups.h
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/lib')
-rw-r--r-- | arch/powerpc/lib/copypage_64.S | 1 | ||||
-rw-r--r-- | arch/powerpc/lib/copyuser_64.S | 1 | ||||
-rw-r--r-- | arch/powerpc/lib/hweight_64.S | 1 | ||||
-rw-r--r-- | arch/powerpc/lib/memcpy_64.S | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/lib/copypage_64.S b/arch/powerpc/lib/copypage_64.S index 8d5034f645f3..694390357667 100644 --- a/arch/powerpc/lib/copypage_64.S +++ b/arch/powerpc/lib/copypage_64.S @@ -11,6 +11,7 @@ #include <asm/ppc_asm.h> #include <asm/asm-offsets.h> #include <asm/export.h> +#include <asm/feature-fixups.h> .section ".toc","aw" PPC64_CACHES: diff --git a/arch/powerpc/lib/copyuser_64.S b/arch/powerpc/lib/copyuser_64.S index 65244263b6a3..2d6f128d3ebe 100644 --- a/arch/powerpc/lib/copyuser_64.S +++ b/arch/powerpc/lib/copyuser_64.S @@ -10,6 +10,7 @@ #include <asm/ppc_asm.h> #include <asm/export.h> #include <asm/asm-compat.h> +#include <asm/feature-fixups.h> #ifdef __BIG_ENDIAN__ #define sLd sld /* Shift towards low-numbered address. */ diff --git a/arch/powerpc/lib/hweight_64.S b/arch/powerpc/lib/hweight_64.S index 3de7ac154f24..0526b2225260 100644 --- a/arch/powerpc/lib/hweight_64.S +++ b/arch/powerpc/lib/hweight_64.S @@ -20,6 +20,7 @@ #include <asm/processor.h> #include <asm/ppc_asm.h> #include <asm/export.h> +#include <asm/feature-fixups.h> /* Note: This code relies on -mminimal-toc */ diff --git a/arch/powerpc/lib/memcpy_64.S b/arch/powerpc/lib/memcpy_64.S index 26ea02b7311f..94650d6eae9c 100644 --- a/arch/powerpc/lib/memcpy_64.S +++ b/arch/powerpc/lib/memcpy_64.S @@ -10,6 +10,7 @@ #include <asm/ppc_asm.h> #include <asm/export.h> #include <asm/asm-compat.h> +#include <asm/feature-fixups.h> .align 7 _GLOBAL_TOC(memcpy) |