summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-06-24 17:36:31 -0300
committerIngo Molnar <mingo@elte.hu>2008-07-09 09:14:12 +0200
commit2528de431ddb200653d1dc6ca90074bad9520f09 (patch)
tree2cce31204c0e6f810bdf8d1d013ea08e931575f7 /include
parentefea505d83873cfc8a7cdbb8a2a11d2c67467843 (diff)
downloadlinux-2528de431ddb200653d1dc6ca90074bad9520f09.tar.gz
linux-2528de431ddb200653d1dc6ca90074bad9520f09.tar.bz2
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')
-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 */