Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/include Don't define CP15 inlines when compilin...



details:   https://anonhg.NetBSD.org/src/rev/32a946d8d78a
branches:  trunk
changeset: 784293:32a946d8d78a
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Jan 24 10:14:55 2013 +0000

description:
Don't define CP15 inlines when compiling for a _RUMPKERNEL

diffstat:

 sys/arch/arm/include/armreg.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r cf239ffa7f06 -r 32a946d8d78a sys/arch/arm/include/armreg.h
--- a/sys/arch/arm/include/armreg.h     Thu Jan 24 10:14:17 2013 +0000
+++ b/sys/arch/arm/include/armreg.h     Thu Jan 24 10:14:55 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: armreg.h,v 1.71 2012/12/25 22:33:39 matt Exp $ */
+/*     $NetBSD: armreg.h,v 1.72 2013/01/24 10:14:55 matt Exp $ */
 
 /*
  * Copyright (c) 1998, 2001 Ben Harris
@@ -557,7 +557,7 @@
 #define CORTEX_CNTENC_C __BIT(31)      /* Disables the cycle counter */
 #define CORTEX_CNTOFL_C __BIT(31)      /* Cycle counter overflow flag */
 
-#if !defined(__ASSEMBLER__)
+#if !defined(__ASSEMBLER__) && !defined(_RUMPKERNEL)
 #define        ARMREG_READ_INLINE(name, __insnstring)                  \
 static inline uint32_t armreg_##name##_read(void)              \
 {                                                              \



Home | Main Index | Thread Index | Old Index