Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/footbridge protect locore.



details:   https://anonhg.NetBSD.org/src/rev/53e8ed961bbe
branches:  trunk
changeset: 813376:53e8ed961bbe
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jan 25 21:54:14 2016 +0000

description:
protect locore.

diffstat:

 sys/arch/arm/footbridge/footbridge_intr.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 73b16b96af8e -r 53e8ed961bbe sys/arch/arm/footbridge/footbridge_intr.h
--- a/sys/arch/arm/footbridge/footbridge_intr.h Mon Jan 25 18:55:25 2016 +0000
+++ b/sys/arch/arm/footbridge/footbridge_intr.h Mon Jan 25 21:54:14 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: footbridge_intr.h,v 1.18 2016/01/25 16:41:06 christos Exp $    */
+/*     $NetBSD: footbridge_intr.h,v 1.19 2016/01/25 21:54:14 christos Exp $    */
 
 /*
  * Copyright (c) 2001, 2002 Wasabi Systems, Inc.
@@ -38,12 +38,14 @@
 #ifndef _FOOTBRIDGE_INTR_H_
 #define _FOOTBRIDGE_INTR_H_
 
+#ifndef _LOCORE
 typedef uint8_t ipl_t;
 typedef struct {
        ipl_t _ipl;
 } ipl_cookie_t;
 
 #include <arm/mutex.h>
+#endif
 #include <arm/cpu.h>
 #include <arm/armreg.h>
 



Home | Main Index | Thread Index | Old Index