]> err.no Git - linux-2.6/blobdiff - include/asm-powerpc/i8259.h
[PATCH] sata_nv: kill not-working hotplug code
[linux-2.6] / include / asm-powerpc / i8259.h
index 9521ad47740f192f83f7f5b1e77b62cc2aea9632..0392159e16e4f9cbd3b1c99519a858bf505755e8 100644 (file)
@@ -1,11 +1,14 @@
 #ifndef _ASM_POWERPC_I8259_H
 #define _ASM_POWERPC_I8259_H
+#ifdef __KERNEL__
 
 #include <linux/irq.h>
 
 extern struct hw_interrupt_type i8259_pic;
 
-extern void i8259_init(long intack_addr);
+extern void i8259_init(unsigned long intack_addr, int offset);
 extern int i8259_irq(struct pt_regs *regs);
+extern int i8259_irq_cascade(struct pt_regs *regs, void *unused);
 
+#endif /* __KERNEL__ */
 #endif /* _ASM_POWERPC_I8259_H */