diff options
author | Harald Koerfgen <hkoerfg@web.de> | 1999-08-13 17:07:25 +0000 |
---|---|---|
committer | Harald Koerfgen <hkoerfg@web.de> | 1999-08-13 17:07:25 +0000 |
commit | 847f8ee407875af42d99ed968bdaf7e330dcc29c (patch) | |
tree | f8cb6dc77e995dcbcb08e40e315cfa3667d9fd71 /arch/mips/kernel | |
parent | 4d912d3f512450d6dd88c1c42a8df0bc8701c6d3 (diff) |
Made implicit assumptions about the availability of some CPU capabilities on certain ISA levels explicitely configurable
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r-- | arch/mips/kernel/traps.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index 800bd1430..fee47746d 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c @@ -1,4 +1,4 @@ -/* $Id: traps.c,v 1.21 1999/06/23 22:15:57 ralf Exp $ +/* $Id: traps.c,v 1.23 1999/08/09 19:43:15 harald Exp $ * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive @@ -74,7 +74,7 @@ int kstack_depth_to_print = 24; */ #define MODULE_RANGE (8*1024*1024) -#if (_MIPS_ISA == _MIPS_ISA_MIPS1) +#if !defined(CONFIG_CPU_HAS_LLSC) /* * This stuff is needed for the userland ll-sc emulation for R2300 */ @@ -362,7 +362,7 @@ void do_tr(struct pt_regs *regs) force_sig(SIGTRAP, current); } -#if (_MIPS_ISA == _MIPS_ISA_MIPS1) +#if !defined(CONFIG_CPU_HAS_LLSC) /* * userland emulation for R2300 CPUs |