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/powerpc/include/intr.h | |
parent | 6a5ac86b44e1672a17310a61c8331dafeca2e085 (diff) |
KNF
Diffstat (limited to 'sys/arch/powerpc/include/intr.h')
-rw-r--r-- | sys/arch/powerpc/include/intr.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/arch/powerpc/include/intr.h b/sys/arch/powerpc/include/intr.h index 52eed751898..92f6124a334 100644 --- a/sys/arch/powerpc/include/intr.h +++ b/sys/arch/powerpc/include/intr.h @@ -1,8 +1,8 @@ -/* $OpenBSD: intr.h,v 1.19 2002/07/23 17:53:25 drahn Exp $ */ +/* $OpenBSD: intr.h,v 1.20 2002/09/15 02:02:44 deraadt Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom, Opsycon AB and RTMX Inc, USA. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: @@ -93,7 +93,7 @@ splx(int newcpl) { __asm__ volatile("":::"memory"); /* reorder protect */ cpl = newcpl; - if(ipending & ~newcpl) + if (ipending & ~newcpl) do_pending_int(); __asm__ volatile("":::"memory"); /* reorder protect */ } @@ -106,7 +106,7 @@ spllower(int newcpl) __asm__ volatile("":::"memory"); /* reorder protect */ oldcpl = cpl; cpl = newcpl; - if(ipending & ~newcpl) + if (ipending & ~newcpl) do_pending_int(); __asm__ volatile("":::"memory"); /* reorder protect */ return(oldcpl); @@ -158,11 +158,11 @@ set_sint(int pending) struct intrhand { struct intrhand *ih_next; int (*ih_fun)(void *); - void *ih_arg; - u_long ih_count; - int ih_level; - int ih_irq; - char *ih_what; + void *ih_arg; + u_long ih_count; + int ih_level; + int ih_irq; + char *ih_what; }; extern int ppc_configed_intr_cnt; #define MAX_PRECONF_INTR 16 |