summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/include
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-05-15 16:03:53 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-05-15 16:03:53 +0000
commit6bfc7f7672433d4479dd7d3ac38085c3c2f1a870 (patch)
treebea2bd67b0a13a45937d373b5174814501b21188 /sys/arch/hppa/include
parentccf8ef5bbb61ec62f07170985bcca4aaaa707cdb (diff)
Userland has the right to compile, too; not sure this will be enough yet
but deraadt@ insists this goes in now.
Diffstat (limited to 'sys/arch/hppa/include')
-rw-r--r--sys/arch/hppa/include/cpu.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/hppa/include/cpu.h b/sys/arch/hppa/include/cpu.h
index ab186368e29..1ee24418b68 100644
--- a/sys/arch/hppa/include/cpu.h
+++ b/sys/arch/hppa/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.49 2007/05/14 19:54:21 martin Exp $ */
+/* $OpenBSD: cpu.h,v 1.50 2007/05/15 16:03:52 miod Exp $ */
/*
* Copyright (c) 2000-2004 Michael Shalayeff
@@ -63,6 +63,7 @@
#define HPPA_FTRS_W32B 0x00000008
#ifndef _LOCORE
+#ifdef _KERNEL
#include <sys/sched.h>
struct cpu_info {
@@ -90,6 +91,7 @@ extern enum hppa_cpu_type cpu_type;
extern const char *cpu_typename;
extern int cpu_hvers;
#endif
+#endif
/*
* COPR/SFUs