Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/oea Set PSL_VEC in the right place.



details:   https://anonhg.NetBSD.org/src/rev/5d563af1a46e
branches:  trunk
changeset: 765396:5d563af1a46e
user:      matt <matt%NetBSD.org@localhost>
date:      Wed May 25 05:42:37 2011 +0000

description:
Set PSL_VEC in the right place.

diffstat:

 sys/arch/powerpc/oea/altivec.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 8c43022b4269 -r 5d563af1a46e sys/arch/powerpc/oea/altivec.c
--- a/sys/arch/powerpc/oea/altivec.c    Wed May 25 04:59:22 2011 +0000
+++ b/sys/arch/powerpc/oea/altivec.c    Wed May 25 05:42:37 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: altivec.c,v 1.23 2011/05/02 06:43:16 matt Exp $        */
+/*     $NetBSD: altivec.c,v 1.24 2011/05/25 05:42:37 matt Exp $        */
 
 /*
  * Copyright (C) 1996 Wolfgang Solfrank.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: altivec.c,v 1.23 2011/05/02 06:43:16 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: altivec.c,v 1.24 2011/05/25 05:42:37 matt Exp $");
 
 #include "opt_multiprocessor.h"
 
@@ -104,7 +104,7 @@
        /*
         * Mark vector registers as modified.
         */
-       l->l_md.md_flags |= MDLWP_USEDVEC;
+       l->l_md.md_flags |= MDLWP_USEDVEC|PSL_VEC;
        l->l_md.md_utf->tf_srr1 |= PSL_VEC;
 }
 



Home | Main Index | Thread Index | Old Index