From 697c52caf08110dcbdc24cb58e265c508b20f043 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Wed, 30 May 2007 17:10:45 +0000 Subject: More cpuinfo vs _KERNEL fallback. --- sys/arch/mvme68k/include/cpu.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'sys/arch/mvme68k/include') diff --git a/sys/arch/mvme68k/include/cpu.h b/sys/arch/mvme68k/include/cpu.h index a7caae93d53..99f07c83839 100644 --- a/sys/arch/mvme68k/include/cpu.h +++ b/sys/arch/mvme68k/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.26 2007/03/15 10:22:29 art Exp $ */ +/* $OpenBSD: cpu.h,v 1.27 2007/05/30 17:10:44 miod Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -74,7 +74,7 @@ #define M68K_MMU_MOTOROLA #include -#ifdef _KERNEL +#ifdef _KERNEL /* * Get interrupt glue. @@ -132,6 +132,8 @@ extern int want_resched; extern int astpending; #define aston() (astpending = 1) +#endif /* _KERNEL */ + /* * CTL_MACHDEP definitions. */ @@ -143,6 +145,8 @@ extern int astpending; { "console_device", CTLTYPE_STRUCT }, \ } +#ifdef _KERNEL + extern vaddr_t intiobase, intiolimit; extern vaddr_t iiomapbase; extern int iiomapsize; -- cgit v1.2.3