Module Name: src
Committed By: skrll
Date: Thu Jan 23 17:44:13 UTC 2014
Modified Files:
src/sys/arch/arm/include: vfpreg.h
src/sys/arch/arm/vfp: vfp_init.c
Log Message:
Fix typo in #define name
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm/include/vfpreg.h
cvs rdiff -u -r1.30 -r1.31 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/include/vfpreg.h
diff -u src/sys/arch/arm/include/vfpreg.h:1.10 src/sys/arch/arm/include/vfpreg.h:1.11
--- src/sys/arch/arm/include/vfpreg.h:1.10 Fri Aug 2 01:59:00 2013
+++ src/sys/arch/arm/include/vfpreg.h Thu Jan 23 17:44:13 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: vfpreg.h,v 1.10 2013/08/02 01:59:00 matt Exp $ */
+/* $NetBSD: vfpreg.h,v 1.11 2014/01/23 17:44:13 skrll Exp $ */
/*
* Copyright (c) 2008 ARM Ltd
@@ -78,7 +78,7 @@
#define VFP_FPEXC_OFF 0x00000004 /* Potential overflow flag */
#define VFP_FPEXC_DZF 0x00000002 /* Potential DivByZero flag */
#define VFP_FPEXC_IOF 0x00000001 /* Potential inv. op. flag */
-#define VFP_FPEXE_FSUM 0x000000ff /* all flag bits */
+#define VFP_FPEXC_FSUM 0x000000ff /* all flag bits */
#define VFP_FPSCR_N 0x80000000 /* set if compare <= result */
#define VFP_FPSCR_Z 0x40000000 /* set if compare = result */
Index: src/sys/arch/arm/vfp/vfp_init.c
diff -u src/sys/arch/arm/vfp/vfp_init.c:1.30 src/sys/arch/arm/vfp/vfp_init.c:1.31
--- src/sys/arch/arm/vfp/vfp_init.c:1.30 Tue Jan 21 12:47:20 2014
+++ src/sys/arch/arm/vfp/vfp_init.c Thu Jan 23 17:44:13 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: vfp_init.c,v 1.30 2014/01/21 12:47:20 skrll Exp $ */
+/* $NetBSD: vfp_init.c,v 1.31 2014/01/23 17:44:13 skrll Exp $ */
/*
* Copyright (c) 2008 ARM Ltd
@@ -413,7 +413,7 @@ vfp_handler(u_int address, u_int insn, t
* Need the clear the exception condition so any signal
* can run.
*/
- armreg_fpexc_write(fpexc & ~(VFP_FPEXC_EX|VFP_FPEXE_FSUM));
+ armreg_fpexc_write(fpexc & ~(VFP_FPEXC_EX|VFP_FPEXC_FSUM));
KSI_INIT_TRAP(&ksi);
ksi.ksi_signo = SIGFPE;