Messages in this thread Patch in this message | | | From | Christophe Leroy <> | Subject | [RFC PATCH 3/8] powerpc: remove superflous inclusions of asm-compat.h | Date | Wed, 30 May 2018 16:41:50 +0000 (UTC) |
| |
ppc-opcode.h doesn't need asm-compat.h neither does dt_cpu_ftrs.h
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> --- arch/powerpc/include/asm/cputable.h | 1 - arch/powerpc/include/asm/feature-fixups.h | 2 ++ arch/powerpc/include/asm/ppc-opcode.h | 1 - 3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/include/asm/cputable.h b/arch/powerpc/include/asm/cputable.h index 66fcab13c8b4..7518dafa7cd4 100644 --- a/arch/powerpc/include/asm/cputable.h +++ b/arch/powerpc/include/asm/cputable.h @@ -4,7 +4,6 @@ #include <linux/types.h> -#include <asm/asm-compat.h> #include <asm/feature-fixups.h> #include <uapi/asm/cputable.h> diff --git a/arch/powerpc/include/asm/feature-fixups.h b/arch/powerpc/include/asm/feature-fixups.h index a9b64df34e2a..ecfdf9d3d145 100644 --- a/arch/powerpc/include/asm/feature-fixups.h +++ b/arch/powerpc/include/asm/feature-fixups.h @@ -1,6 +1,8 @@ #ifndef __ASM_POWERPC_FEATURE_FIXUPS_H #define __ASM_POWERPC_FEATURE_FIXUPS_H +#include <asm/asm-compat.h> + /* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/arch/powerpc/include/asm/ppc-opcode.h b/arch/powerpc/include/asm/ppc-opcode.h index 4436887bc415..ab12fac26f5b 100644 --- a/arch/powerpc/include/asm/ppc-opcode.h +++ b/arch/powerpc/include/asm/ppc-opcode.h @@ -13,7 +13,6 @@ #define _ASM_POWERPC_PPC_OPCODE_H #include <linux/stringify.h> -#include <asm/asm-compat.h> #define __REG_R0 0 #define __REG_R1 1 -- 2.13.3
| |