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

This commit is contained in:
thorpej 2000-06-09 16:03:04 +00:00
parent c69e701de8
commit 71cd989b8f
1 changed files with 3 additions and 3 deletions

View File

@ -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)