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 Don't clear PSL_FP/PSL_VEC
details: https://anonhg.NetBSD.org/src/rev/0fff00f8a6d9
branches: trunk
changeset: 809368:0fff00f8a6d9
user: matt <matt%NetBSD.org@localhost>
date: Mon Jul 06 05:55:37 2015 +0000
description:
Don't clear PSL_FP/PSL_VEC
diffstat:
sys/arch/powerpc/include/userret.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r e6a24b33b6d1 -r 0fff00f8a6d9 sys/arch/powerpc/include/userret.h
--- a/sys/arch/powerpc/include/userret.h Mon Jul 06 05:36:26 2015 +0000
+++ b/sys/arch/powerpc/include/userret.h Mon Jul 06 05:55:37 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: userret.h,v 1.29 2015/07/06 02:30:22 matt Exp $ */
+/* $NetBSD: userret.h,v 1.30 2015/07/06 05:55:37 matt Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -66,7 +66,8 @@
"tf=%p: srr1 (%#lx): PSL_FP set but FPU curlwp %p is not curlwp %p!",
tf, tf->tf_srr1, l->l_cpu->ci_data.cpu_pcu_curlwp[PCU_FPU], l);
- tf->tf_srr1 &= PSL_USERSRR1; /* clear SRR1 status bits */
+ /* clear SRR1 status bits */
+ tf->tf_srr1 &= (PSL_USERSRR1|PSL_FP|PSL_VEC);
#ifdef ALTIVEC
/*
Home |
Main Index |
Thread Index |
Old Index