diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-06-20 04:50:25 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-06-20 04:50:25 +0000 |
commit | d59680422e8a6bbde084969af51a2acb41bb8999 (patch) | |
tree | 9a3a1817899275117b904b7401b6cd0c106df778 /sys | |
parent | 2feb8d1886e36db3c98fa6e5f221754d840b8783 (diff) |
Silence intr_establish a bit more; makes the dmesg on U2 suddenly edible.
ok deraadt@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc64/sparc64/intr.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/arch/sparc64/sparc64/intr.c b/sys/arch/sparc64/sparc64/intr.c index e3bb64195fd..0f733452011 100644 --- a/sys/arch/sparc64/sparc64/intr.c +++ b/sys/arch/sparc64/sparc64/intr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.c,v 1.20 2004/01/10 09:10:07 deraadt Exp $ */ +/* $OpenBSD: intr.c,v 1.21 2004/06/20 04:50:24 miod Exp $ */ /* $NetBSD: intr.c,v 1.39 2001/07/19 23:38:11 eeh Exp $ */ /* @@ -280,15 +280,18 @@ intr_establish(level, ih) if(ih->ih_map) { id = CPU_UPAID; m = *ih->ih_map; - if(INTTID(m) != id) { + if (INTTID(m) != id) { +#ifdef DEBUG printf("\nintr_establish: changing map 0x%llx -> ", m); +#endif m = (m & ~INTMAP_TID) | (id << INTTID_SHIFT); +#ifdef DEBUG printf("0x%llx (id=%llx) ", m, id); +#endif } m |= INTMAP_V; *ih->ih_map = m; - } - else { + } else { #ifdef DEBUG printf( "\n**********************\n" "********************** intr_establish: no map register\n" |