Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/marvell Only include "opt_mvsoc.h" if _INTR_PRI...



details:   https://anonhg.NetBSD.org/src/rev/9505dfc66a08
branches:  trunk
changeset: 794565:9505dfc66a08
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Mar 18 06:46:14 2014 +0000

description:
Only include "opt_mvsoc.h" if _INTR_PRIVATE is defined.

diffstat:

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

diffs (23 lines):

diff -r fde96c7ae0ef -r 9505dfc66a08 sys/arch/arm/marvell/mvsoc_intr.h
--- a/sys/arch/arm/marvell/mvsoc_intr.h Tue Mar 18 06:23:45 2014 +0000
+++ b/sys/arch/arm/marvell/mvsoc_intr.h Tue Mar 18 06:46:14 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mvsoc_intr.h,v 1.3 2013/11/20 12:16:47 kiyohara Exp $  */
+/*     $NetBSD: mvsoc_intr.h,v 1.4 2014/03/18 06:46:14 matt Exp $      */
 /*
  * Copyright (c) 2010 KIYOHARA Takashi
  * All rights reserved.
@@ -28,11 +28,13 @@
 #ifndef _MVSOC_INTR_H_
 #define _MVSOC_INTR_H_
 
+#ifdef _INTR_PRIVATE
 #include "opt_mvsoc.h"
 
 #if defined(ARMADAXP)
 #define __HAVE_PIC_SET_PRIORITY
 #endif
+#endif
 
 #define ARM_IRQ_HANDLER        _C_LABEL(mvsoc_irq_handler)
 



Home | Main Index | Thread Index | Old Index