summaryrefslogtreecommitdiff
path: root/arch/sparc/include/asm/traps.h
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2012-05-11 15:35:13 +0400
committerDavid S. Miller <davem@davemloft.net>2012-05-12 06:27:52 +0400
commitef136bc91e3a98d34f32d85ab0c79de67b4f6f87 (patch)
tree6455e0125f740e5afdb18d3c11daf2b9c2c44729 /arch/sparc/include/asm/traps.h
parente098ff92f65048ce327927c0ce3daed0ef34988f (diff)
downloadlinux-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.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;
#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)