summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-10-26 20:14:16 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-10-26 20:14:16 +0000
commit12246e2cdd28b55501930660691d84be05add8d6 (patch)
tree1a22a076ddda7c43cff95e8f969493f0e216ba75
parent9a3b52d696d6b3cca34250418798a08976f2c5c1 (diff)
Get rid of unused `frame' member of struct intrhand; only hardclock() needs
a frame and clock interrupt doesn't need a struct intrhand.
-rw-r--r--sys/arch/sgi/include/intr.h3
-rw-r--r--sys/arch/sgi/sgi/intr_template.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/sgi/include/intr.h b/sys/arch/sgi/include/intr.h
index 1829fc7dd22..d571bc1998c 100644
--- a/sys/arch/sgi/include/intr.h
+++ b/sys/arch/sgi/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.34 2009/10/22 22:08:54 miod Exp $ */
+/* $OpenBSD: intr.h,v 1.35 2009/10/26 20:14:14 miod Exp $ */
/*
* Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -161,7 +161,6 @@ struct intrhand {
void *ih_arg;
int ih_level;
int ih_irq;
- void *frame;
struct evcount ih_count;
};
diff --git a/sys/arch/sgi/sgi/intr_template.c b/sys/arch/sgi/sgi/intr_template.c
index 4640bbb3927..3c59ce25cd8 100644
--- a/sys/arch/sgi/sgi/intr_template.c
+++ b/sys/arch/sgi/sgi/intr_template.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr_template.c,v 1.3 2009/10/26 18:13:34 miod Exp $ */
+/* $OpenBSD: intr_template.c,v 1.4 2009/10/26 20:14:15 miod Exp $ */
/*
* Copyright (c) 2009 Miodrag Vallat.
@@ -95,7 +95,6 @@ INTR_FUNCTIONNAME(uint32_t hwpend, struct trap_frame *frame)
continue;
#endif
splraise(ih->ih_level);
- ih->frame = frame;
if ((*ih->ih_fun)(ih->ih_arg) != 0) {
rc = 1;
ih->ih_count.ec_count++;