Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/arm32 When initializing sf->sf_spl, simply alwa...



details:   https://anonhg.NetBSD.org/src/rev/fcf0faa2848b
branches:  trunk
changeset: 521397:fcf0faa2848b
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Jan 29 23:02:48 2002 +0000

description:
When initializing sf->sf_spl, simply always assume that 0 is
equivalent to spl0().

diffstat:

 sys/arch/arm/arm32/vm_machdep.c |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (22 lines):

diff -r 22fd690c9e3b -r fcf0faa2848b sys/arch/arm/arm32/vm_machdep.c
--- a/sys/arch/arm/arm32/vm_machdep.c   Tue Jan 29 22:54:14 2002 +0000
+++ b/sys/arch/arm/arm32/vm_machdep.c   Tue Jan 29 23:02:48 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm_machdep.c,v 1.12 2002/01/25 19:19:25 thorpej Exp $  */
+/*     $NetBSD: vm_machdep.c,v 1.13 2002/01/29 23:02:48 thorpej Exp $  */
 
 /*
  * Copyright (c) 1994-1998 Mark Brinicombe.
@@ -176,11 +176,7 @@
                tf->tf_usr_sp = (u_int)stack + stacksize;
 
        sf = (struct switchframe *)tf - 1;
-#ifdef __NEWINTR
-       sf->sf_spl = cpu_sf_spl0();
-#else
-       sf->sf_spl = _SPL_0;
-#endif
+       sf->sf_spl = 0;         /* always equivalent to spl0() */
        sf->sf_r4 = (u_int)func;
        sf->sf_r5 = (u_int)arg;
        sf->sf_pc = (u_int)proc_trampoline;



Home | Main Index | Thread Index | Old Index