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/arm/xscale Pull up revision 1.4 (requested by ...



details:   https://anonhg.NetBSD.org/src/rev/4cf36a016955
branches:  netbsd-1-6
changeset: 529396:4cf36a016955
user:      he <he%NetBSD.org@localhost>
date:      Mon Nov 18 01:45:19 2002 +0000

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

diffstat:

 sys/arch/arm/xscale/i80321_icu.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (25 lines):

diff -r 7049abc254d1 -r 4cf36a016955 sys/arch/arm/xscale/i80321_icu.c
--- a/sys/arch/arm/xscale/i80321_icu.c  Mon Nov 18 01:37:16 2002 +0000
+++ b/sys/arch/arm/xscale/i80321_icu.c  Mon Nov 18 01:45:19 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i80321_icu.c,v 1.2.6.1 2002/11/11 23:35:32 he Exp $    */
+/*     $NetBSD: i80321_icu.c,v 1.2.6.2 2002/11/18 01:45:19 he Exp $    */
 
 /*
  * Copyright (c) 2001, 2002 Wasabi Systems, Inc.
@@ -340,14 +340,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