Use NIOMD to determine if we're on an IOMD system, rather than
RISCPC || CPU_ARM7500. I think this removes that last substantive use of CPU_ARM7500 in the kernel (hooray!).
This commit is contained in:
parent
864f123d5a
commit
55a4aace27
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: irqhandler.h,v 1.20 2001/07/10 00:09:44 bjh21 Exp $ */
|
/* $NetBSD: irqhandler.h,v 1.21 2001/07/10 00:41:12 bjh21 Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1994-1996 Mark Brinicombe.
|
* Copyright (c) 1994-1996 Mark Brinicombe.
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
#define _ARM32_IRQHANDLER_H_
|
#define _ARM32_IRQHANDLER_H_
|
||||||
|
|
||||||
#if defined(_KERNEL_OPT)
|
#if defined(_KERNEL_OPT)
|
||||||
#include "opt_cputypes.h"
|
#include "iomd.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _LOCORE
|
#ifndef _LOCORE
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
* Shortly to be replaced with system specific interrupt tables and handling
|
* Shortly to be replaced with system specific interrupt tables and handling
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if defined(RISCPC) || defined(CPU_ARM7500)
|
#if NIOMD > 0
|
||||||
|
|
||||||
/* Only for ARM7500 : */
|
/* Only for ARM7500 : */
|
||||||
|
|
||||||
|
@ -154,7 +154,7 @@
|
||||||
|
|
||||||
#endif /* RISCPC */
|
#endif /* RISCPC */
|
||||||
|
|
||||||
#endif /* RISPC || CPU_ARM7500 */
|
#endif /* NIOMD > 0 */
|
||||||
|
|
||||||
#ifdef OFWGENCFG
|
#ifdef OFWGENCFG
|
||||||
/* These are just made up for now! -JJK */
|
/* These are just made up for now! -JJK */
|
||||||
|
|
Loading…
Reference in New Issue