diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2012-05-11 15:35:13 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-12 06:27:52 +0400 |
commit | ef136bc91e3a98d34f32d85ab0c79de67b4f6f87 (patch) | |
tree | 6455e0125f740e5afdb18d3c11daf2b9c2c44729 /arch/sparc/include/asm/traps.h | |
parent | e098ff92f65048ce327927c0ce3daed0ef34988f (diff) | |
download | linux-ef136bc91e3a98d34f32d85ab0c79de67b4f6f87.tar.xz |
sparc32: drop sun4c user stack checking routine
With this we no longer do any run-time patchings of traps.
So drop the function + macro to support this.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm/traps.h')
-rw-r--r-- | arch/sparc/include/asm/traps.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/sparc/include/asm/traps.h b/arch/sparc/include/asm/traps.h index 3aa62dde343f..5fac90f18da3 100644 --- a/arch/sparc/include/asm/traps.h +++ b/arch/sparc/include/asm/traps.h @@ -31,13 +31,6 @@ extern struct tt_entry *sparc_ttable; #define SPARC_MOV_CONST_L3(const) (0xa6102000 | (const&0xfff)) -/* The following assumes that the branch lies before the place we - * are branching to. This is the case for a trap vector... - * You have been warned. - */ -#define SPARC_BRANCH(dest_addr, inst_addr) \ - (0x10800000 | (((dest_addr-inst_addr)>>2)&0x3fffff)) - #define SPARC_RD_PSR_L0 (0xa1480000) #define SPARC_RD_WIM_L3 (0xa7500000) #define SPARC_NOP (0x01000000) |