Module Name: src
Committed By: skrll
Date: Thu Apr 10 16:07:50 UTC 2014
Modified Files:
src/sys/arch/arm/cortex: a9_mpsubr.S
Log Message:
Fix a typo - it's "#define". Use defined(foo) rather than just foo in
preprocessor conditional.
ok matt@
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/arm/cortex/a9_mpsubr.S
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/cortex/a9_mpsubr.S
diff -u src/sys/arch/arm/cortex/a9_mpsubr.S:1.14 src/sys/arch/arm/cortex/a9_mpsubr.S:1.15
--- src/sys/arch/arm/cortex/a9_mpsubr.S:1.14 Sun Mar 30 15:20:54 2014
+++ src/sys/arch/arm/cortex/a9_mpsubr.S Thu Apr 10 16:07:50 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: a9_mpsubr.S,v 1.14 2014/03/30 15:20:54 matt Exp $ */
+/* $NetBSD: a9_mpsubr.S,v 1.15 2014/04/10 16:07:50 skrll Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -135,7 +135,7 @@ arm_boot_l1pt_init:
#define CPU_CONTROL_AFLT_ENABLE_CLR CPU_CONTROL_AFLT_ENABLE
#define CPU_CONTROL_AFLT_ENABLE_SET 0
#else
-#deifne CPU_CONTROL_AFLT_ENABLE_CLR 0
+#define CPU_CONTROL_AFLT_ENABLE_CLR 0
#define CPU_CONTROL_AFLT_ENABLE_SET CPU_CONTROL_AFLT_ENABLE
#endif
@@ -259,7 +259,7 @@ arm_cpuinit:
.p2align 2
-#if defined(VERBOSE_INIT_ARM) && XPUTC_COM
+#if defined(VERBOSE_INIT_ARM) && defined(XPUTC_COM)
#define TIMO 0x25000
#ifndef COM_MULT
#define COM_MULT 1