Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hp700/hp700 Use hppa_enable_irq



details:   https://anonhg.NetBSD.org/src/rev/122f01689cfa
branches:  trunk
changeset: 779345:122f01689cfa
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon May 21 08:14:58 2012 +0000

description:
Use hppa_enable_irq

diffstat:

 sys/arch/hp700/hp700/autoconf.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 010bc44fe8a0 -r 122f01689cfa sys/arch/hp700/hp700/autoconf.c
--- a/sys/arch/hp700/hp700/autoconf.c   Mon May 21 07:42:51 2012 +0000
+++ b/sys/arch/hp700/hp700/autoconf.c   Mon May 21 08:14:58 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.44 2012/02/05 08:31:53 skrll Exp $      */
+/*     $NetBSD: autoconf.c,v 1.45 2012/05/21 08:14:58 skrll Exp $      */
 
 /*     $OpenBSD: autoconf.c,v 1.15 2001/06/25 00:43:10 mickey Exp $    */
 
@@ -86,7 +86,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.44 2012/02/05 08:31:53 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.45 2012/05/21 08:14:58 skrll Exp $");
 
 #include "opt_kgdb.h"
 #include "opt_useleds.h"
@@ -185,7 +185,7 @@
 
        /* in spl*() we trust */
        hp700_intr_init();
-       __asm volatile("ssm %0, %%r0" :: "i" (PSW_I));
+       hppa_enable_irq();
        curcpu()->ci_psw |= PSW_I;
        spl0();
 



Home | Main Index | Thread Index | Old Index