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 Always re-enable the VFP when loading for a...
details: https://anonhg.NetBSD.org/src/rev/fa461905efa1
branches: trunk
changeset: 783595:fa461905efa1
user: matt <matt%NetBSD.org@localhost>
date: Mon Dec 31 03:23:53 2012 +0000
description:
Always re-enable the VFP when loading for a kernel LWP.
diffstat:
sys/arch/arm/vfp/vfp_init.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 340822ea5fce -r fa461905efa1 sys/arch/arm/vfp/vfp_init.c
--- a/sys/arch/arm/vfp/vfp_init.c Mon Dec 31 01:23:31 2012 +0000
+++ b/sys/arch/arm/vfp/vfp_init.c Mon Dec 31 03:23:53 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfp_init.c,v 1.14 2012/12/31 00:01:48 matt Exp $ */
+/* $NetBSD: vfp_init.c,v 1.15 2012/12/31 03:23:53 matt Exp $ */
/*
* Copyright (c) 2008 ARM Ltd
@@ -468,8 +468,8 @@
if (flags & PCU_KERNEL) {
if ((flags & PCU_LOADED) == 0) {
pcb->pcb_kernel_vfp.vfp_fpexc = pcb->pcb_vfp.vfp_fpexc;
- pcb->pcb_vfp.vfp_fpexc = VFP_FPEXC_EN;
}
+ pcb->pcb_vfp.vfp_fpexc = VFP_FPEXC_EN;
write_fpexc(pcb->pcb_vfp.vfp_fpexc);
/*
* Load the kernel registers (just the first 16) if they've
Home |
Main Index |
Thread Index |
Old Index