aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2012-05-11 07:35:13 -0400
committerDavid S. Miller <davem@davemloft.net>2012-05-11 22:27:52 -0400
commitef136bc91e3a98d34f32d85ab0c79de67b4f6f87 (patch)
tree6455e0125f740e5afdb18d3c11daf2b9c2c44729 /arch/sparc/include
parente098ff92f65048ce327927c0ce3daed0ef34988f (diff)
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')
-rw-r--r--arch/sparc/include/asm/traps.h7
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;
31 31
32#define SPARC_MOV_CONST_L3(const) (0xa6102000 | (const&0xfff)) 32#define SPARC_MOV_CONST_L3(const) (0xa6102000 | (const&0xfff))
33 33
34/* The following assumes that the branch lies before the place we
35 * are branching to. This is the case for a trap vector...
36 * You have been warned.
37 */
38#define SPARC_BRANCH(dest_addr, inst_addr) \
39 (0x10800000 | (((dest_addr-inst_addr)>>2)&0x3fffff))
40
41#define SPARC_RD_PSR_L0 (0xa1480000) 34#define SPARC_RD_PSR_L0 (0xa1480000)
42#define SPARC_RD_WIM_L3 (0xa7500000) 35#define SPARC_RD_WIM_L3 (0xa7500000)
43#define SPARC_NOP (0x01000000) 36#define SPARC_NOP (0x01000000)