summaryrefslogtreecommitdiff
path: root/sys/arm/include
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2008-08-19 19:53:52 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2008-08-19 19:53:52 +0000
commit70d12a18f21f17d8beb0fbead08f76ae36cc25e2 (patch)
tree54a78b309ff5605f1b1c38a78d05a129df9f9940 /sys/arm/include
parente5bfdc768a9f812c5abf668c57a0aa00a992c38d (diff)
Notes
Diffstat (limited to 'sys/arm/include')
-rw-r--r--sys/arm/include/pcpu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/arm/include/pcpu.h b/sys/arm/include/pcpu.h
index 8388ba6fdd1b..387035cf2446 100644
--- a/sys/arm/include/pcpu.h
+++ b/sys/arm/include/pcpu.h
@@ -38,6 +38,8 @@
struct vmspace;
+#endif /* _KERNEL */
+
/*
* Inside the kernel, the globally reserved register g7 is used to
* point at the globaldata structure.
@@ -45,6 +47,8 @@ struct vmspace;
#define PCPU_MD_FIELDS \
struct pcup *pc_prvspace;
+#ifdef _KERNEL
+
struct pcb;
struct pcpu;