Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/cortex Fix a typo - it's "#define". Use defined...
details: https://anonhg.NetBSD.org/src/rev/841ddd6c0fdb
branches: trunk
changeset: 795384:841ddd6c0fdb
user: skrll <skrll%NetBSD.org@localhost>
date: Thu Apr 10 16:07:50 2014 +0000
description:
Fix a typo - it's "#define". Use defined(foo) rather than just foo in
preprocessor conditional.
ok matt@
diffstat:
sys/arch/arm/cortex/a9_mpsubr.S | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r efad7c12f9a3 -r 841ddd6c0fdb sys/arch/arm/cortex/a9_mpsubr.S
--- a/sys/arch/arm/cortex/a9_mpsubr.S Thu Apr 10 02:55:13 2014 +0000
+++ b/sys/arch/arm/cortex/a9_mpsubr.S Thu Apr 10 16:07:50 2014 +0000
@@ -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 @@
#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 @@
.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
Home |
Main Index |
Thread Index |
Old Index