diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2018-12-05 10:28:22 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2018-12-05 10:28:22 +0000 |
commit | cc5c49fe4628c385d40c93a1bdb68995ab1cc9fe (patch) | |
tree | 0a6da11e6207bcb5e21584543eee5e5bd9ffb44d /sys/arch/arm | |
parent | 32654562be88ff4c9e49b3d12e07f80ad4bae156 (diff) |
Include srp.h where struct cpu_info uses srp to avoid erroring out when
including cpu.h machine/intr.h etc without first including param.h when
MULTIPROCESSOR is defined.
ok visa@
Diffstat (limited to 'sys/arch/arm')
-rw-r--r-- | sys/arch/arm/include/cpu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/arm/include/cpu.h b/sys/arch/arm/include/cpu.h index 3ef71b06eaf..2a7f6097880 100644 --- a/sys/arch/arm/include/cpu.h +++ b/sys/arch/arm/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.52 2018/08/06 18:39:13 kettenis Exp $ */ +/* $OpenBSD: cpu.h,v 1.53 2018/12/05 10:28:21 jsg Exp $ */ /* $NetBSD: cpu.h,v 1.34 2003/06/23 11:01:08 martin Exp $ */ /* @@ -149,6 +149,7 @@ void arm32_vector_init(vaddr_t, int); #include <sys/device.h> #include <sys/sched.h> +#include <sys/srp.h> struct cpu_info { struct device *ci_dev; /* Device corresponding to this CPU */ |