diff options
author | Kyle McMartin <kyle@parisc-linux.org> | 2006-08-13 22:17:19 -0400 |
---|---|---|
committer | Matthew Wilcox <willy@parisc-linux.org> | 2006-10-04 06:45:37 -0600 |
commit | 3d73cf5e18c47d416db4d0734245d3fb087603d9 (patch) | |
tree | 4a80d0f24493a2be47828fa17ecc358b473ba38b /include/asm-parisc | |
parent | f86e45131f9d41b1617fbaac7aa1ef23e8d0ab48 (diff) | |
download | kernel_samsung_smdk4412-3d73cf5e18c47d416db4d0734245d3fb087603d9.zip kernel_samsung_smdk4412-3d73cf5e18c47d416db4d0734245d3fb087603d9.tar.gz kernel_samsung_smdk4412-3d73cf5e18c47d416db4d0734245d3fb087603d9.tar.bz2 |
[PARISC] Abstract shift register left in .S
Abstract existing shift register left macros as shift register
right are. This lends itself to a nice clean up of some #ifdef
blocks in entry.S
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'include/asm-parisc')
-rw-r--r-- | include/asm-parisc/assembly.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asm-parisc/assembly.h b/include/asm-parisc/assembly.h index 1a7bfe6..5a1e0e8 100644 --- a/include/asm-parisc/assembly.h +++ b/include/asm-parisc/assembly.h @@ -29,7 +29,8 @@ #define LDREGX ldd,s #define LDREGM ldd,mb #define STREGM std,ma -#define SHRREG shrd +#define SHRREG shrd +#define SHLREG shld #define RP_OFFSET 16 #define FRAME_SIZE 128 #define CALLEE_REG_FRAME_SIZE 144 @@ -39,7 +40,8 @@ #define LDREGX ldwx,s #define LDREGM ldwm #define STREGM stwm -#define SHRREG shr +#define SHRREG shr +#define SHLREG shlw #define RP_OFFSET 20 #define FRAME_SIZE 64 #define CALLEE_REG_FRAME_SIZE 128 |