]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-arm/assembler.h
ns9xxx: prepare for adding support for Digi ns921x processors
[linux-2.6-omap-h63xx.git] / include / asm-arm / assembler.h
index add451ab89473948804619434181e9b216cdef6c..fce8328208258bcd64cae06279608a8d4008f347 100644 (file)
 #define PLD(code...)
 #endif
 
-#define MODE_USR       USR_MODE
-#define MODE_FIQ       FIQ_MODE
-#define MODE_IRQ       IRQ_MODE
-#define MODE_SVC       SVC_MODE
-
-#define DEFAULT_FIQ    MODE_FIQ
-
 /*
  * Enable and disable interrupts
  */
        msr     cpsr_c, \oldcpsr
        .endm
 
-/*
- * These two are used to save LR/restore PC over a user-based access.
- * The old 26-bit architecture requires that we do.  On 32-bit
- * architecture, we can safely ignore this requirement.
- */
-       .macro  save_lr
-       .endm
-
-       .macro  restore_pc
-       mov     pc, lr
-       .endm
-
 #define USER(x...)                             \
 9999:  x;                                      \
        .section __ex_table,"a";                \