parisc: Add cfi_startproc and cfi_endproc to assembly code
[cascardo/linux.git] / arch / parisc / include / asm / linkage.h
index 0b19a72..67e6b43 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef __ASM_PARISC_LINKAGE_H
 #define __ASM_PARISC_LINKAGE_H
 
+#include <asm/dwarf.h>
+
 #ifndef __ALIGN
 #define __ALIGN         .align 4
 #define __ALIGN_STR     ".align 4"
@@ -10,6 +12,8 @@
  * In parisc assembly a semicolon marks a comment while a
  * exclamation mark is used to separate independent lines.
  */
+#define ASM_NL !
+
 #ifdef __ASSEMBLY__
 
 #define ENTRY(name) \
@@ -26,6 +30,14 @@ name:
        END(name)
 #endif
 
+#define ENTRY_CFI(name) \
+       ENTRY(name)     ASM_NL\
+       CFI_STARTPROC
+
+#define ENDPROC_CFI(name) \
+       ENDPROC(name)   ASM_NL\
+       CFI_ENDPROC
+
 #endif /* __ASSEMBLY__ */
 
 #endif  /* __ASM_PARISC_LINKAGE_H */