From 4364147a179f75cbca62381a5aa4fcf661c01389 Mon Sep 17 00:00:00 2001 From: sakamoto Date: Thu, 24 Jun 1999 01:28:02 +0000 Subject: [PATCH] include machine/intr.h CACHELINESIZE enabled with defined(_STANDALONE). --- sys/arch/bebox/include/cpu.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sys/arch/bebox/include/cpu.h b/sys/arch/bebox/include/cpu.h index 5e9c4a9ec299..b87d9a63b90d 100644 --- a/sys/arch/bebox/include/cpu.h +++ b/sys/arch/bebox/include/cpu.h @@ -1,4 +1,4 @@ -/* $NetBSD: cpu.h,v 1.4 1999/04/17 21:16:46 ws Exp $ */ +/* $NetBSD: cpu.h,v 1.5 1999/06/24 01:28:02 sakamoto Exp $ */ /* * Copyright (C) 1995-1997 Wolfgang Solfrank. @@ -35,6 +35,7 @@ #include #include +#include #define CLKF_USERMODE(frame) (((frame)->srr1 & PSL_PR) != 0) #define CLKF_BASEPRI(frame) ((frame)->pri == 0) @@ -44,7 +45,7 @@ #define cpu_swapout(p) #define cpu_wait(p) -extern void delay __P((int)); +extern void delay __P((unsigned int)); #define DELAY(n) delay(n) extern volatile int want_resched; @@ -56,7 +57,7 @@ extern volatile int astpending; extern char *bootpath; -#ifdef _KERNEL +#if defined(_KERNEL) || defined(_STANDALONE) #define CACHELINESIZE 32 #endif