diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-05-30 17:10:45 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-05-30 17:10:45 +0000 |
commit | 697c52caf08110dcbdc24cb58e265c508b20f043 (patch) | |
tree | 609ba9704d044ae7728454d005cfb7ba167f3866 /sys/arch/mvme68k/include | |
parent | cb6fec0ee798cc1b9face8f2c788b79c08a4f96e (diff) |
More cpuinfo vs _KERNEL fallback.
Diffstat (limited to 'sys/arch/mvme68k/include')
-rw-r--r-- | sys/arch/mvme68k/include/cpu.h | 8 |
1 files changed, 6 insertions, 2 deletions
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 <m68k/cpu.h> -#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; |