Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/include Compare ci_veclwp against &lwp0, no...
details: https://anonhg.NetBSD.org/src/rev/7027de25a95f
branches: trunk
changeset: 762338:7027de25a95f
user: matt <matt%NetBSD.org@localhost>
date: Sat Feb 19 19:18:11 2011 +0000
description:
Compare ci_veclwp against &lwp0, not NULL.
diffstat:
sys/arch/powerpc/include/userret.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r b4e7f1945cd9 -r 7027de25a95f sys/arch/powerpc/include/userret.h
--- a/sys/arch/powerpc/include/userret.h Sat Feb 19 19:17:33 2011 +0000
+++ b/sys/arch/powerpc/include/userret.h Sat Feb 19 19:18:11 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: userret.h,v 1.18 2011/02/17 13:53:32 matt Exp $ */
+/* $NetBSD: userret.h,v 1.19 2011/02/19 19:18:11 matt Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -91,7 +91,7 @@
* CPU, we need to stop any data streams that are active (since
* it will be a different address space).
*/
- if (ci->ci_veclwp != NULL && ci->ci_veclwp != l) {
+ if (ci->ci_veclwp != &lwp0 && ci->ci_veclwp != l) {
__asm volatile("dssall;sync");
}
#endif
Home |
Main Index |
Thread Index |
Old Index