diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2018-07-05 12:24:57 -0400 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-07-30 08:48:16 -0400 |
commit | ec0c464cdbf38bf6ddabec8bfa595bd421cab203 (patch) | |
tree | b9e8e5c9b489fff773b505294f8c25e1d4dfdacd /arch/powerpc/include/asm/code-patching.h | |
parent | 36a7eeaff7d06cef253c8df6dfe363bfc4a553f8 (diff) |
powerpc: move ASM_CONST and stringify_in_c() into asm-const.h
This patch moves ASM_CONST() and stringify_in_c() into
dedicated asm-const.h, then cleans all related inclusions.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
[mpe: asm-compat.h should include asm-const.h]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/code-patching.h')
-rw-r--r-- | arch/powerpc/include/asm/code-patching.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/code-patching.h b/arch/powerpc/include/asm/code-patching.h index 812535f40124..9ecc7bfc8ae7 100644 --- a/arch/powerpc/include/asm/code-patching.h +++ b/arch/powerpc/include/asm/code-patching.h | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <asm/ppc-opcode.h> | 14 | #include <asm/ppc-opcode.h> |
15 | #include <linux/string.h> | 15 | #include <linux/string.h> |
16 | #include <linux/kallsyms.h> | 16 | #include <linux/kallsyms.h> |
17 | #include <asm/asm-compat.h> | ||
17 | 18 | ||
18 | /* Flags for create_branch: | 19 | /* Flags for create_branch: |
19 | * "b" == create_branch(addr, target, 0); | 20 | * "b" == create_branch(addr, target, 0); |