diff options
author | marcel <marcel@FreeBSD.org> | 2014-09-07 21:40:14 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2014-09-07 21:40:14 +0000 |
commit | f2fb38d67f4f2e9ae85ec51542bd51d4afa67b64 (patch) | |
tree | c83532d0081d6be95175d0d9093ff0ad4c60ecf8 /sys/ia64 | |
parent | a7cb473513d1db7492658dd436833db2cbb9707c (diff) | |
download | FreeBSD-src-f2fb38d67f4f2e9ae85ec51542bd51d4afa67b64.zip FreeBSD-src-f2fb38d67f4f2e9ae85ec51542bd51d4afa67b64.tar.gz |
Fix previous commit: unbreak build of libkvm by including sys/systm.h
only when _KERNEL is defined.
Approved by: re@ (implicit)
Diffstat (limited to 'sys/ia64')
-rw-r--r-- | sys/ia64/include/pcpu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/ia64/include/pcpu.h b/sys/ia64/include/pcpu.h index f33a6c3..0648c91 100644 --- a/sys/ia64/include/pcpu.h +++ b/sys/ia64/include/pcpu.h @@ -31,7 +31,6 @@ #define _MACHINE_PCPU_H_ #include <sys/sysctl.h> -#include <sys/systm.h> #include <machine/pcb.h> struct pcpu_stats { @@ -72,6 +71,8 @@ struct pcpu_md { #ifdef _KERNEL +#include <sys/systm.h> + struct pcpu; register struct pcpu * volatile pcpup __asm__("r13"); |