Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/sparc Call setcontext{4, 4m}() directly when w...
details: https://anonhg.NetBSD.org/src/rev/069bb12fb114
branches: trunk
changeset: 536111:069bb12fb114
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Sep 07 18:51:05 2002 +0000
description:
Call setcontext{4,4m}() directly when we already know the CPU type.
(inspired by OpenBSD)
diffstat:
sys/arch/sparc/sparc/pmap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r c8bdb6aee0e1 -r 069bb12fb114 sys/arch/sparc/sparc/pmap.c
--- a/sys/arch/sparc/sparc/pmap.c Sat Sep 07 12:48:51 2002 +0000
+++ b/sys/arch/sparc/sparc/pmap.c Sat Sep 07 18:51:05 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.210 2002/07/17 14:31:47 thorpej Exp $ */
+/* $NetBSD: pmap.c,v 1.211 2002/09/07 18:51:05 tsutsui Exp $ */
/*
* Copyright (c) 1996
@@ -5829,7 +5829,7 @@
}
}
simple_unlock(&pm->pm_lock);
- setcontext(ctx);
+ setcontext4(ctx);
splx(s);
}
@@ -6293,7 +6293,7 @@
sp->sg_npte = nleft;
}
simple_unlock(&pm->pm_lock);
- setcontext(ctx);
+ setcontext4m(ctx);
}
#endif /* SUN4M || SUN4D */
Home |
Main Index |
Thread Index |
Old Index