Merge with Linux 2.5.59.
[linux-2.6/linux-mips.git] / include / asm-arm / assembler.h
blobde5f9ee4d5e5509f0ae42660381d3b740245923e
1 /*
2 * linux/asm/assembler.h
4 * This file contains arm architecture specific defines
5 * for the different processors.
7 * Do not include any C declarations in this file - it is included by
8 * assembler source.
9 */
10 #ifndef __ASSEMBLY__
11 #error "Only include this from assembly code"
12 #endif
14 #include <asm/proc/ptrace.h>
15 #include <asm/proc/assembler.h>
18 * Endian independent macros for shifting bytes within registers.
20 #ifndef __ARMEB__
21 #define pull lsr
22 #define push lsl
23 #define byte(x) (x*8)
24 #else
25 #define pull lsl
26 #define push lsr
27 #define byte(x) ((3-x)*8)
28 #endif