summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-04-12 17:53:27 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-04-12 17:53:27 +0000
commitdb8f9a5b15d531c213beb3886678c480ee33a9b5 (patch)
treecd69d65b930d6cd968debf5be3ded61e2f13f481 /sys/arch
parente6311ae66afb873a66abf199de7b69ef5264e9ef (diff)
Needs <machine/atomic.h> to compile.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sgi/xbow/xheart.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/sgi/xbow/xheart.c b/sys/arch/sgi/xbow/xheart.c
index fff89950e47..be50868fff6 100644
--- a/sys/arch/sgi/xbow/xheart.c
+++ b/sys/arch/sgi/xbow/xheart.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xheart.c,v 1.3 2009/03/20 18:41:07 miod Exp $ */
+/* $OpenBSD: xheart.c,v 1.4 2009/04/12 17:53:26 miod Exp $ */
/*
* Copyright (c) 2008 Miodrag Vallat.
@@ -28,6 +28,7 @@
#include <sys/malloc.h>
#include <sys/queue.h>
+#include <machine/atomic.h>
#include <machine/autoconf.h>
#include <machine/cpu.h>
#include <machine/intr.h>
@@ -448,7 +449,7 @@ xheart_intr_handler(intrmask_t hwpend, struct trap_frame *frame)
}
}
- return CR_INT_0; /* hwpend */
+ return CR_INT_0;
}
void