diff options
Diffstat (limited to 'include/asm-sparc64/ttable.h')
-rw-r--r-- | include/asm-sparc64/ttable.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/include/asm-sparc64/ttable.h b/include/asm-sparc64/ttable.h index bbb9c8f13d61..7208a777750e 100644 --- a/include/asm-sparc64/ttable.h +++ b/include/asm-sparc64/ttable.h | |||
@@ -99,14 +99,6 @@ | |||
99 | or %l7, %lo(systbl), %l7; \ | 99 | or %l7, %lo(systbl), %l7; \ |
100 | nop; nop; | 100 | nop; nop; |
101 | 101 | ||
102 | #define INDIRECT_SOLARIS_SYSCALL(num) \ | ||
103 | sethi %hi(109f), %g7; \ | ||
104 | ba,pt %xcc, etrap; \ | ||
105 | 109: or %g7, %lo(109b), %g7; \ | ||
106 | ba,pt %xcc, tl0_solaris + 0xc; \ | ||
107 | mov num, %g1; \ | ||
108 | nop;nop;nop; | ||
109 | |||
110 | #define TRAP_UTRAP(handler,lvl) \ | 102 | #define TRAP_UTRAP(handler,lvl) \ |
111 | mov handler, %g3; \ | 103 | mov handler, %g3; \ |
112 | ba,pt %xcc, utrap_trap; \ | 104 | ba,pt %xcc, utrap_trap; \ |
@@ -117,11 +109,6 @@ | |||
117 | nop; \ | 109 | nop; \ |
118 | nop; | 110 | nop; |
119 | 111 | ||
120 | #ifdef CONFIG_SUNOS_EMUL | ||
121 | #define SUNOS_SYSCALL_TRAP SYSCALL_TRAP(linux_sparc_syscall32, sunos_sys_table) | ||
122 | #else | ||
123 | #define SUNOS_SYSCALL_TRAP TRAP(sunos_syscall) | ||
124 | #endif | ||
125 | #ifdef CONFIG_COMPAT | 112 | #ifdef CONFIG_COMPAT |
126 | #define LINUX_32BIT_SYSCALL_TRAP SYSCALL_TRAP(linux_sparc_syscall32, sys_call_table32) | 113 | #define LINUX_32BIT_SYSCALL_TRAP SYSCALL_TRAP(linux_sparc_syscall32, sys_call_table32) |
127 | #else | 114 | #else |
@@ -130,11 +117,6 @@ | |||
130 | #define LINUX_64BIT_SYSCALL_TRAP SYSCALL_TRAP(linux_sparc_syscall, sys_call_table64) | 117 | #define LINUX_64BIT_SYSCALL_TRAP SYSCALL_TRAP(linux_sparc_syscall, sys_call_table64) |
131 | #define GETCC_TRAP TRAP(getcc) | 118 | #define GETCC_TRAP TRAP(getcc) |
132 | #define SETCC_TRAP TRAP(setcc) | 119 | #define SETCC_TRAP TRAP(setcc) |
133 | #ifdef CONFIG_SOLARIS_EMUL | ||
134 | #define SOLARIS_SYSCALL_TRAP TRAP(solaris_sparc_syscall) | ||
135 | #else | ||
136 | #define SOLARIS_SYSCALL_TRAP TRAP(solaris_syscall) | ||
137 | #endif | ||
138 | #define BREAKPOINT_TRAP TRAP(breakpoint_trap) | 120 | #define BREAKPOINT_TRAP TRAP(breakpoint_trap) |
139 | 121 | ||
140 | #ifdef CONFIG_TRACE_IRQFLAGS | 122 | #ifdef CONFIG_TRACE_IRQFLAGS |