Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm Fix typo in #define name



details:   https://anonhg.NetBSD.org/src/rev/84a06d35dab7
branches:  trunk
changeset: 326259:84a06d35dab7
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Jan 23 17:44:13 2014 +0000

description:
Fix typo in #define name

diffstat:

 sys/arch/arm/include/vfpreg.h |  4 ++--
 sys/arch/arm/vfp/vfp_init.c   |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 03612070059c -r 84a06d35dab7 sys/arch/arm/include/vfpreg.h
--- a/sys/arch/arm/include/vfpreg.h     Thu Jan 23 17:43:28 2014 +0000
+++ b/sys/arch/arm/include/vfpreg.h     Thu Jan 23 17:44:13 2014 +0000
@@ -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 */
diff -r 03612070059c -r 84a06d35dab7 sys/arch/arm/vfp/vfp_init.c
--- a/sys/arch/arm/vfp/vfp_init.c       Thu Jan 23 17:43:28 2014 +0000
+++ b/sys/arch/arm/vfp/vfp_init.c       Thu Jan 23 17:44:13 2014 +0000
@@ -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 @@
                 * 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;



Home | Main Index | Thread Index | Old Index