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

Next file: linux/arch/sparc/kernel/sunos_asm.S
Previous file: linux/arch/sparc/kernel/sun4c_irq.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.15/linux/arch/sparc/kernel/sun4m_irq.c linux/arch/sparc/kernel/sun4m_irq.c
@@ -18,6 +18,7 @@
 #include <linux/smp.h>
 #include <linux/interrupt.h>
 #include <linux/malloc.h>
+#include <linux/init.h>
 
 #include <asm/ptrace.h>
 #include <asm/processor.h>
@@ -195,7 +196,7 @@
 }
 #endif /* HANDLE_LVL14_IRQ */
 
-static void sun4m_init_timers(void (*counter_fn)(int, void *, struct pt_regs *))
+__initfunc(static void sun4m_init_timers(void (*counter_fn)(int, void *, struct pt_regs *)))
 {
 	int reg_count, irq, cpu;
 	struct linux_prom_registers cnt_regs[PROMREG_MAX];
@@ -266,7 +267,7 @@
 	}
 }
 
-void sun4m_init_IRQ(void)
+__initfunc(void sun4m_init_IRQ(void))
 {
 	int ie_node,i;
 	struct linux_prom_registers int_regs[PROMREG_MAX];

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