Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/alpha/include Only include <machine/intr.h> if _KER...



details:   https://anonhg.NetBSD.org/src/rev/97616e72f781
branches:  trunk
changeset: 487594:97616e72f781
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Jun 09 16:03:04 2000 +0000

description:
Only include <machine/intr.h> if _KERNEL.  Noted by enami tsugutomo.

diffstat:

 sys/arch/alpha/include/param.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 369b5c43d82c -r 97616e72f781 sys/arch/alpha/include/param.h
--- a/sys/arch/alpha/include/param.h    Fri Jun 09 15:28:21 2000 +0000
+++ b/sys/arch/alpha/include/param.h    Fri Jun 09 16:03:04 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.29 2000/06/09 01:40:12 cgd Exp $ */
+/* $NetBSD: param.h,v 1.30 2000/06/09 16:03:04 thorpej Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -154,11 +154,11 @@
 #define        alpha_btop(x)           ((unsigned long)(x) >> PGSHIFT)
 #define        alpha_ptob(x)           ((unsigned long)(x) << PGSHIFT)
 
-#include <machine/intr.h>
-
 #ifdef _KERNEL
 #ifndef _LOCORE
 
+#include <machine/intr.h>
+
 void   delay(unsigned long);
 #define        DELAY(n)        delay(n)
 



Home | Main Index | Thread Index | Old Index