summary refs log tree commit diff
path: root/arch/powerpc/include/asm/ppc_asm.h
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2014-02-04 16:07:01 +1100
committerAnton Blanchard <anton@samba.org>2014-04-23 10:05:19 +1000
commitc1fb019477c27bfe309be282d178a08e56f05249 (patch)
treee009c66d0cd8c8c23c927af879e540347f62d4ce /arch/powerpc/include/asm/ppc_asm.h
parent354255014a9042b9204e5bed22704110326d5ecf (diff)
downloadlinux-c1fb019477c27bfe309be282d178a08e56f05249.tar.gz
powerpc: Create DOTSYM to wrap dot symbol usage
There are a few places we have to use dot symbols with the
current ABI - the syscall table and the kvm hcall table.

Wrap both of these with a new macro called DOTSYM so it will
be easy to transition away from dot symbols in a future ABI.

Signed-off-by: Anton Blanchard <anton@samba.org>
Diffstat (limited to 'arch/powerpc/include/asm/ppc_asm.h')
-rw-r--r--arch/powerpc/include/asm/ppc_asm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/ppc_asm.h b/arch/powerpc/include/asm/ppc_asm.h
index 35b23a6584cb..61992d8f99df 100644
--- a/arch/powerpc/include/asm/ppc_asm.h
+++ b/arch/powerpc/include/asm/ppc_asm.h
@@ -223,6 +223,8 @@ name: \
 	.type GLUE(.,name),@function; \
 GLUE(.,name):
 
+#define DOTSYM(a)	GLUE(.,a)
+
 #else /* 32-bit */
 
 #define _ENTRY(n)	\