patch-2.1.16 linux/arch/sparc/kernel/sun4c_irq.c

Next file: linux/arch/sparc/kernel/sun4m_irq.c
Previous file: linux/arch/sparc/kernel/sparc_namei.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.15/linux/arch/sparc/kernel/sun4c_irq.c linux/arch/sparc/kernel/sun4c_irq.c
@@ -17,6 +17,7 @@
 #include <linux/sched.h>
 #include <linux/interrupt.h>
 #include <linux/malloc.h>
+#include <linux/init.h>
 
 #include <asm/ptrace.h>
 #include <asm/processor.h>
@@ -120,7 +121,7 @@
 	/* Errm.. not sure how to do this.. */
 }
 
-static void sun4c_init_timers(void (*counter_fn)(int, void *, struct pt_regs *))
+__initfunc(static void sun4c_init_timers(void (*counter_fn)(int, void *, struct pt_regs *)))
 {
 	int irq;
 
@@ -155,7 +156,7 @@
 static void sun4c_nop(void) {}
 #endif
 
-void sun4c_init_IRQ(void)
+__initfunc(void sun4c_init_IRQ(void))
 {
 	struct linux_prom_registers int_regs[2];
 	int ie_node;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov