summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKyle McMartin <kyle@mcmartin.ca>2008-05-15 14:53:57 (GMT)
committerKyle McMartin <kyle@mcmartin.ca>2008-05-15 15:03:43 (GMT)
commit872f6debcae63309eb39bfc2cc9462fb83450ee0 (patch)
tree7a1bb365c00e791b8e3d8e848b6f0e97e9b3ab69 /include
parentf54d8a1b3fef79bb1aa2f0840dd356ce7bb180f9 (diff)
downloadlinux-872f6debcae63309eb39bfc2cc9462fb83450ee0.tar.xz
parisc: use conditional macro for 64-bit wide ops
This work enables us to remove -traditional from $AFLAGS on parisc. Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Diffstat (limited to 'include')
-rw-r--r--include/asm-parisc/assembly.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/asm-parisc/assembly.h b/include/asm-parisc/assembly.h
index 5587f00..ffb2088 100644
--- a/include/asm-parisc/assembly.h
+++ b/include/asm-parisc/assembly.h
@@ -31,9 +31,8 @@
#define STREGM std,ma
#define SHRREG shrd
#define SHLREG shld
-#define ADDIB addib,*
-#define CMPB cmpb,*
#define ANDCM andcm,*
+#define COND(x) * ## x
#define RP_OFFSET 16
#define FRAME_SIZE 128
#define CALLEE_REG_FRAME_SIZE 144
@@ -46,9 +45,8 @@
#define STREGM stwm
#define SHRREG shr
#define SHLREG shlw
-#define ADDIB addib,
-#define CMPB cmpb,
#define ANDCM andcm
+#define COND(x) x
#define RP_OFFSET 20
#define FRAME_SIZE 64
#define CALLEE_REG_FRAME_SIZE 128