Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/sys/arch/evbarm/iq80310 Pull up revision 1.16 (requeste...



details:   https://anonhg.NetBSD.org/src/rev/f4e7e7748069
branches:  netbsd-1-6
changeset: 529397:f4e7e7748069
user:      he <he%NetBSD.org@localhost>
date:      Mon Nov 18 02:02:12 2002 +0000

description:
Pull up revision 1.16 (requested by thorpej in ticket #680):
  Don't need to frob CPSR in _splraise().

diffstat:

 sys/arch/evbarm/iq80310/iq80310_intr.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (25 lines):

diff -r 4cf36a016955 -r f4e7e7748069 sys/arch/evbarm/iq80310/iq80310_intr.c
--- a/sys/arch/evbarm/iq80310/iq80310_intr.c    Mon Nov 18 01:45:19 2002 +0000
+++ b/sys/arch/evbarm/iq80310/iq80310_intr.c    Mon Nov 18 02:02:12 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iq80310_intr.c,v 1.12 2002/04/14 21:32:24 thorpej Exp $        */
+/*     $NetBSD: iq80310_intr.c,v 1.12.4.1 2002/11/18 02:02:12 he Exp $ */
 
 /*
  * Copyright (c) 2001, 2002 Wasabi Systems, Inc.
@@ -305,14 +305,11 @@
 int
 _splraise(int ipl)
 {
-       int old, oldirqstate;
+       int old;
 
-       oldirqstate = disable_interrupts(I32_bit);
        old = current_spl_level;
        current_spl_level |= imask[ipl];
 
-       restore_interrupts(oldirqstate);
-
        return (old);
 }
 



Home | Main Index | Thread Index | Old Index