summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/asm.h
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-06-24 22:36:31 +0200
committerIngo Molnar <mingo@elte.hu>2008-07-09 09:14:12 +0200
commit2528de431ddb200653d1dc6ca90074bad9520f09 (patch)
tree2cce31204c0e6f810bdf8d1d013ea08e931575f7 /include/asm-x86/asm.h
parentx86: don't use word-size specifiers in putuser files. (diff)
downloadlinux-2528de431ddb200653d1dc6ca90074bad9520f09.tar.xz
linux-2528de431ddb200653d1dc6ca90074bad9520f09.zip
x86: use macros from asm.h.
In putuser_32.S and putuser_64.S, replace things like .quad, .long, and explicit references to [r|e]ax for the apropriate macros in asm/asm.h. Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/asm.h')
-rw-r--r--include/asm-x86/asm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86/asm.h b/include/asm-x86/asm.h
index 57750a95685d..97220321f39d 100644
--- a/include/asm-x86/asm.h
+++ b/include/asm-x86/asm.h
@@ -28,6 +28,8 @@
#define _ASM_SUB __ASM_SIZE(sub)
#define _ASM_XADD __ASM_SIZE(xadd)
#define _ASM_AX __ASM_REG(ax)
+#define _ASM_BX __ASM_REG(bx)
+#define _ASM_CX __ASM_REG(cx)
#define _ASM_DX __ASM_REG(dx)
/* Exception table entry */