Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/vfp in vfp_state_load(), fix backwards logic fo...
details: https://anonhg.NetBSD.org/src/rev/c89a12cc611a
branches: trunk
changeset: 352252:c89a12cc611a
user: chs <chs%NetBSD.org@localhost>
date: Wed Mar 22 23:36:02 2017 +0000
description:
in vfp_state_load(), fix backwards logic for fpinst vs. fpinst2.
diffstat:
sys/arch/arm/vfp/vfp_init.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (21 lines):
diff -r 0f8e58955280 -r c89a12cc611a sys/arch/arm/vfp/vfp_init.c
--- a/sys/arch/arm/vfp/vfp_init.c Wed Mar 22 23:11:07 2017 +0000
+++ b/sys/arch/arm/vfp/vfp_init.c Wed Mar 22 23:36:02 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfp_init.c,v 1.51 2017/03/16 16:13:20 chs Exp $ */
+/* $NetBSD: vfp_init.c,v 1.52 2017/03/22 23:36:02 chs Exp $ */
/*
* Copyright (c) 2008 ARM Ltd
@@ -546,9 +546,9 @@
if (fregs->vfp_fpexc & VFP_FPEXC_EX) {
/* Need to restore the exception handling state. */
- armreg_fpinst2_write(fregs->vfp_fpinst2);
+ armreg_fpinst_write(fregs->vfp_fpinst);
if (fregs->vfp_fpexc & VFP_FPEXC_FP2V)
- armreg_fpinst_write(fregs->vfp_fpinst);
+ armreg_fpinst2_write(fregs->vfp_fpinst2);
}
}
Home |
Main Index |
Thread Index |
Old Index