diff mbox series

[v2,1/7] powerpc: Add missing asm/asm.h for objtool

Message ID 2bf5e4aa135ae481a34a5cf00448f99a611f4962.1657301423.git.christophe.leroy@csgroup.eu (mailing list archive)
State Superseded
Headers show
Series Implement inline static calls on PPC32 - v2 | expand

Commit Message

Christophe Leroy July 8, 2022, 5:31 p.m. UTC
Since commit e2ef115813c3 ("objtool: Fix STACK_FRAME_NON_STANDARD
reloc type"), powerpc needs asm/asm.h to enable objtool.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
---
 arch/powerpc/include/asm/asm.h | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 arch/powerpc/include/asm/asm.h
diff mbox series

Patch

diff --git a/arch/powerpc/include/asm/asm.h b/arch/powerpc/include/asm/asm.h
new file mode 100644
index 000000000000..86f46b604e9a
--- /dev/null
+++ b/arch/powerpc/include/asm/asm.h
@@ -0,0 +1,7 @@ 
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _ASM_POWERPC_ASM_H
+#define _ASM_POWERPC_ASM_H
+
+#define _ASM_PTR	" .long "
+
+#endif /* _ASM_POWERPC_ASM_H */