]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-x86/asm.h
specialix: Switch to int put_char method
[linux-2.6-omap-h63xx.git] / include / asm-x86 / asm.h
index b5006eb9acbac2f75766df5a994ff336630c76f5..90dec0c236469455821607eca77a5a86684af6d2 100644 (file)
@@ -6,13 +6,34 @@
 
 # define _ASM_PTR      " .long "
 # define _ASM_ALIGN    " .balign 4 "
+# define _ASM_MOV_UL   " movl "
+
+# define _ASM_INC      " incl "
+# define _ASM_DEC      " decl "
+# define _ASM_ADD      " addl "
+# define _ASM_SUB      " subl "
+# define _ASM_XADD     " xaddl "
 
 #else
 /* 64 bits */
 
 # define _ASM_PTR      " .quad "
 # define _ASM_ALIGN    " .balign 8 "
+# define _ASM_MOV_UL   " movq "
+
+# define _ASM_INC      " incq "
+# define _ASM_DEC      " decq "
+# define _ASM_ADD      " addq "
+# define _ASM_SUB      " subq "
+# define _ASM_XADD     " xaddq "
 
 #endif /* CONFIG_X86_32 */
 
+/* Exception table entry */
+# define _ASM_EXTABLE(from,to) \
+       " .section __ex_table,\"a\"\n" \
+       _ASM_ALIGN "\n" \
+       _ASM_PTR #from "," #to "\n" \
+       " .previous\n"
+
 #endif /* _ASM_X86_ASM_H */