patch-2.4.0-test11 linux/include/asm-ppc/hw_irq.h

Next file: linux/include/asm-ppc/ide.h
Previous file: linux/include/asm-ppc/highmem.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test10/linux/include/asm-ppc/hw_irq.h linux/include/asm-ppc/hw_irq.h
@@ -3,6 +3,7 @@
  *
  * Copyright (C) 1999 Cort Dougan <cort@cs.nmt.edu>
  */
+#ifdef __KERNEL__
 #ifndef _PPC_HW_IRQ_H
 #define _PPC_HW_IRQ_H
 
@@ -40,3 +41,4 @@
 #define mask_and_ack_irq(irq) ({if (irq_desc[irq].handler && irq_desc[irq].handler->ack) irq_desc[irq].handler->ack(irq);})
 
 #endif /* _PPC_HW_IRQ_H */
+#endif /* __KERNEL__ */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)