Module Name: src Committed By: matt Date: Mon Dec 31 03:23:53 UTC 2012
Modified Files: src/sys/arch/arm/vfp: vfp_init.c Log Message: Always re-enable the VFP when loading for a kernel LWP. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/arch/arm/vfp/vfp_init.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/arm/vfp/vfp_init.c diff -u src/sys/arch/arm/vfp/vfp_init.c:1.14 src/sys/arch/arm/vfp/vfp_init.c:1.15 --- src/sys/arch/arm/vfp/vfp_init.c:1.14 Mon Dec 31 00:01:48 2012 +++ src/sys/arch/arm/vfp/vfp_init.c Mon Dec 31 03:23:53 2012 @@ -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 @@ vfp_state_load(lwp_t *l, u_int flags) 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