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/arm32 Protect more definitions with #if...



details:   https://anonhg.NetBSD.org/src/rev/997cf4d80820
branches:  trunk
changeset: 783251:997cf4d80820
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Dec 12 15:09:37 2012 +0000

description:
Protect more definitions with #ifndef _LOCORE

diffstat:

 sys/arch/arm/include/arm32/pmap.h |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 5d624e541f6c -r 997cf4d80820 sys/arch/arm/include/arm32/pmap.h
--- a/sys/arch/arm/include/arm32/pmap.h Wed Dec 12 15:08:44 2012 +0000
+++ b/sys/arch/arm/include/arm32/pmap.h Wed Dec 12 15:09:37 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.118 2012/12/12 00:29:17 matt Exp $  */
+/*     $NetBSD: pmap.h,v 1.119 2012/12/12 15:09:37 matt Exp $  */
 
 /*
  * Copyright (c) 2002, 2003 Wasabi Systems, Inc.
@@ -890,6 +890,7 @@
 #define        L2_L_MAPPABLE_P(va, pa, size)                                   \
        ((((va) | (pa)) & L2_L_OFFSET) == 0 && (size) >= L2_L_SIZE)
 
+#ifndef _LOCORE
 /*
  * Hooks for the pool allocator.
  */
@@ -906,8 +907,6 @@
         ((paddr_t)((vaddr_t)(va) - KERNEL_BASE + physical_start))
 #endif
 
-#ifndef _LOCORE
-
 /*
  * pmap-specific data store in the vm_page structure.
  */



Home | Main Index | Thread Index | Old Index