diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-09-15 02:02:45 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-09-15 02:02:45 +0000 |
commit | 8c8e2c846f8262a3603ec796149262b47740ecae (patch) | |
tree | 34e49ae4689a6115c9c2cdaeebc102d194fddf67 /sys/arch/macppc/dev/openpic.c | |
parent | 6a5ac86b44e1672a17310a61c8331dafeca2e085 (diff) |
KNF
Diffstat (limited to 'sys/arch/macppc/dev/openpic.c')
-rw-r--r-- | sys/arch/macppc/dev/openpic.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/macppc/dev/openpic.c b/sys/arch/macppc/dev/openpic.c index 7acbf97a4a6..df321e82615 100644 --- a/sys/arch/macppc/dev/openpic.c +++ b/sys/arch/macppc/dev/openpic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: openpic.c,v 1.16 2002/03/14 03:15:55 millert Exp $ */ +/* $OpenBSD: openpic.c,v 1.17 2002/09/15 02:02:43 deraadt Exp $ */ /*- * Copyright (c) 1995 Per Fogelstrom @@ -498,7 +498,7 @@ openpic_do_pending_int() irq = 31 - cntlzw(hwpend); hwpend &= ~(1L << irq); ih = o_intrhand[irq]; - while(ih) { + while (ih) { (*ih->ih_fun)(ih->ih_arg); ih = ih->ih_next; } @@ -509,18 +509,18 @@ openpic_do_pending_int() /*out32rb(INT_ENABLE_REG, ~imen_o);*/ do { - if((ipending & SINT_CLOCK) & ~pcpl) { + if ((ipending & SINT_CLOCK) & ~pcpl) { ipending &= ~SINT_CLOCK; softclock(); } - if((ipending & SINT_NET) & ~pcpl) { + if ((ipending & SINT_NET) & ~pcpl) { extern int netisr; int pisr = netisr; netisr = 0; ipending &= ~SINT_NET; softnet(pisr); } - if((ipending & SINT_TTY) & ~pcpl) { + if ((ipending & SINT_TTY) & ~pcpl) { ipending &= ~SINT_TTY; softtty(); } |