Module Name:    src
Committed By:   matt
Date:           Wed May 25 05:42:37 UTC 2011

Modified Files:
        src/sys/arch/powerpc/oea: altivec.c

Log Message:
Set PSL_VEC in the right place.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/powerpc/oea/altivec.c

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/oea/altivec.c
diff -u src/sys/arch/powerpc/oea/altivec.c:1.23 src/sys/arch/powerpc/oea/altivec.c:1.24
--- src/sys/arch/powerpc/oea/altivec.c:1.23	Mon May  2 06:43:16 2011
+++ src/sys/arch/powerpc/oea/altivec.c	Wed May 25 05:42:37 2011
@@ -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;
 }
 

Reply via email to