[PARISC] fix ENTRY() and ENDPROC() for 64bit-parisc
authorHelge Deller <deller@gmx.de>
Tue, 23 Jan 2007 22:32:10 +0000 (23:32 +0100)
committerKyle McMartin <kyle@athena.road.mcmartin.ca>
Sat, 17 Feb 2007 06:15:51 +0000 (01:15 -0500)
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
include/asm-parisc/linkage.h

index 9df3978f8a9b57c3058fb38eb4df56ac05231c5c..7a09d911b53895eb5976ab96fd62d53989018d11 100644 (file)
@@ -7,12 +7,22 @@
 #endif
 
 /*
- * In parisc assembly a semicolon marks a comment.
- * Because of that we use an exclamation mark to seperate independend lines.
+ * In parisc assembly a semicolon marks a comment while a
+ * exclamation mark is used to seperate independend lines.
  */
 #define ENTRY(name) \
-       .globl name !\
+       .export name !\
        ALIGN !\
 name:
 
+#ifdef CONFIG_64BIT
+#define ENDPROC(name) \
+       END(name)
+#else
+#define ENDPROC(name) \
+       .type name, @function !\
+       END(name)
+#endif
+
+
 #endif  /* __ASM_PARISC_LINKAGE_H */