Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm26/arm26 Don't trust function return to restore ...
details: https://anonhg.NetBSD.org/src/rev/a26f73f0b97b
branches: trunk
changeset: 503682:a26f73f0b97b
user: bjh21 <bjh21%NetBSD.org@localhost>
date: Sun Feb 11 14:46:11 2001 +0000
description:
Don't trust function return to restore IRQ disable flag, since it won't
in APCS-32.
diffstat:
sys/arch/arm26/arm26/irq.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 8f0e58c854b4 -r a26f73f0b97b sys/arch/arm26/arm26/irq.c
--- a/sys/arch/arm26/arm26/irq.c Sun Feb 11 14:13:07 2001 +0000
+++ b/sys/arch/arm26/arm26/irq.c Sun Feb 11 14:46:11 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: irq.c,v 1.13 2001/01/23 23:58:31 bjh21 Exp $ */
+/* $NetBSD: irq.c,v 1.14 2001/02/11 14:46:11 bjh21 Exp $ */
/*-
* Copyright (c) 2000, 2001 Ben Harris
@@ -33,7 +33,7 @@
#include <sys/param.h>
-__RCSID("$NetBSD: irq.c,v 1.13 2001/01/23 23:58:31 bjh21 Exp $");
+__RCSID("$NetBSD: irq.c,v 1.14 2001/02/11 14:46:11 bjh21 Exp $");
#include <sys/device.h>
#include <sys/kernel.h> /* for cold */
@@ -316,7 +316,8 @@
unixbp_irq_setmask(irqmask[s] >> IRQ_UNIXBP_BASE);
#endif
current_spl = s;
- return was; /* Restore interrupt state */
+ int_on();
+ return was;
}
#ifdef DDB
Home |
Main Index |
Thread Index |
Old Index