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/hp300/include | |
parent | cb6fec0ee798cc1b9face8f2c788b79c08a4f96e (diff) |
More cpuinfo vs _KERNEL fallback.
Diffstat (limited to 'sys/arch/hp300/include')
-rw-r--r-- | sys/arch/hp300/include/cpu.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/hp300/include/cpu.h b/sys/arch/hp300/include/cpu.h index 56d22c6a43e..8df6120d17b 100644 --- a/sys/arch/hp300/include/cpu.h +++ b/sys/arch/hp300/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.33 2007/03/15 10:22:29 art Exp $ */ +/* $OpenBSD: cpu.h,v 1.34 2007/05/30 17:10:42 miod Exp $ */ /* $NetBSD: cpu.h,v 1.28 1998/02/13 07:41:51 scottr Exp $ */ /* @@ -51,6 +51,8 @@ */ #include <m68k/cpu.h> +#ifdef _KERNEL + /* * Get interrupt glue. */ @@ -107,6 +109,8 @@ extern int want_resched; /* resched() was called */ extern int astpending; /* need to trap before returning to user mode */ #define aston() (astpending = 1) +#endif /* _KERNEL */ + /* * CTL_MACHDEP definitions. */ |