1 #ifndef __ARM_ASM_DEFNS_H__ 2 #define __ARM_ASM_DEFNS_H__ 3 4 #ifndef COMPILE_OFFSETS 5 /* NB. Auto-generated from arch/.../asm-offsets.c */ 6 #include <asm/asm-offsets.h> 7 #endif 8 #include <asm/processor.h> 9 10 /* For generic assembly code: use macros to define operand sizes. */ 11 #if defined(CONFIG_ARM_32) 12 # define __OP32 13 #elif defined(CONFIG_ARM_64) 14 # define __OP32 "w" 15 #else 16 # error "unknown ARM variant" 17 #endif 18 19 #endif /* __ARM_ASM_DEFNS_H__ */ 20 /* 21 * Local variables: 22 * mode: C 23 * c-file-style: "BSD" 24 * c-basic-offset: 4 25 * indent-tabs-mode: nil 26 * End: 27 */ 28