summaryrefslogtreecommitdiff
path: root/sys/arch/sh
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-06-27 12:41:24 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-06-27 12:41:24 +0000
commit2a30d23bbc18c28379f40c0e61013db55e253462 (patch)
treefce8f3852c76aa3850aa70d499a9c240b147172e /sys/arch/sh
parent9190aa703c7dbeac82eb95dc41a5e8326206e2d1 (diff)
Bunch of include adjustements to restore compilability.
Diffstat (limited to 'sys/arch/sh')
-rw-r--r--sys/arch/sh/sh/locore_c.c3
-rw-r--r--sys/arch/sh/sh/trap.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/sh/sh/locore_c.c b/sys/arch/sh/sh/locore_c.c
index 319becc4e51..153589be8b2 100644
--- a/sys/arch/sh/sh/locore_c.c
+++ b/sys/arch/sh/sh/locore_c.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore_c.c,v 1.9 2010/06/26 23:24:44 guenther Exp $ */
+/* $OpenBSD: locore_c.c,v 1.10 2010/06/27 12:41:23 miod Exp $ */
/* $NetBSD: locore_c.c,v 1.13 2006/03/04 01:13:35 uwe Exp $ */
/*-
@@ -114,6 +114,7 @@
#include <sh/locore.h>
#include <sh/cpu.h>
+#include <sh/pcb.h>
#include <sh/pmap.h>
#include <sh/mmu_sh3.h>
#include <sh/mmu_sh4.h>
diff --git a/sys/arch/sh/sh/trap.c b/sys/arch/sh/sh/trap.c
index 18fd463da0d..85895c337bf 100644
--- a/sys/arch/sh/sh/trap.c
+++ b/sys/arch/sh/sh/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.15 2010/06/26 23:24:44 guenther Exp $ */
+/* $OpenBSD: trap.c,v 1.16 2010/06/27 12:41:23 miod Exp $ */
/* $NetBSD: exception.c,v 1.32 2006/09/04 23:57:52 uwe Exp $ */
/* $NetBSD: syscall.c,v 1.6 2006/03/07 07:21:50 thorpej Exp $ */
@@ -86,6 +86,7 @@
#include <sys/pool.h>
#include <sys/kernel.h>
#include <sys/signal.h>
+#include <sys/resourcevar.h>
#include <sys/syscall.h>
#ifdef KTRACE