Module Name:    src
Committed By:   matt
Date:           Thu Jan 24 10:14:55 UTC 2013

Modified Files:
        src/sys/arch/arm/include: armreg.h

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


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/sys/arch/arm/include/armreg.h

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/armreg.h
diff -u src/sys/arch/arm/include/armreg.h:1.71 src/sys/arch/arm/include/armreg.h:1.72
--- src/sys/arch/arm/include/armreg.h:1.71	Tue Dec 25 22:33:39 2012
+++ src/sys/arch/arm/include/armreg.h	Thu Jan 24 10:14:55 2013
@@ -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)		\
 {								\

Reply via email to