]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-parisc/linkage.h
[MIPS] Fix potential latency problem due to non-atomic cpu_wait.
[linux-2.6-omap-h63xx.git] / include / asm-parisc / linkage.h
index 9df3978f8a9b57c3058fb38eb4df56ac05231c5c..0b19a7242d0c1237a1f0f9a079043149b0b8b7df 100644 (file)
@@ -7,12 +7,25 @@
 #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 separate independent lines.
  */
+#ifdef __ASSEMBLY__
+
 #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 /* __ASSEMBLY__ */
+
 #endif  /* __ASM_PARISC_LINKAGE_H */