aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/asm.h
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2022-12-08 12:57:47 +0000
committerMichael Ellerman <[email protected]>2022-12-08 12:57:47 +0000
commitf24f21c4122e837fa031cc512a7f20eb8c554c5e (patch)
treeb19acb396850fbfb36218329659b926446c24914 /arch/powerpc/include/asm/asm.h
parentpowerpc/prom: Fix 32-bit build (diff)
parentobjtool/powerpc: Implement arch_pc_relative_reloc() (diff)
downloadkernel-f24f21c4122e837fa031cc512a7f20eb8c554c5e.tar.gz
kernel-f24f21c4122e837fa031cc512a7f20eb8c554c5e.zip
Merge branch 'topic/objtool' into next
Merge the powerpc objtool support, which we were keeping in a topic branch in case of any merge conflicts.
Diffstat (limited to 'arch/powerpc/include/asm/asm.h')
-rw-r--r--arch/powerpc/include/asm/asm.h7
1 files changed, 7 insertions, 0 deletions
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 */