Module Name: src Committed By: matt Date: Sat Feb 19 19:18:11 UTC 2011
Modified Files: src/sys/arch/powerpc/include: userret.h Log Message: Compare ci_veclwp against &lwp0, not NULL. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/arch/powerpc/include/userret.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/powerpc/include/userret.h diff -u src/sys/arch/powerpc/include/userret.h:1.18 src/sys/arch/powerpc/include/userret.h:1.19 --- src/sys/arch/powerpc/include/userret.h:1.18 Thu Feb 17 13:53:32 2011 +++ src/sys/arch/powerpc/include/userret.h Sat Feb 19 19:18:11 2011 @@ -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