Skip to contentSkip to conversation

more apic.c

PATCH In review Andries Brouwer 2 participants 2 messages Feb 26, 2005 – Feb 27, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 more apic.c

setup_APIC_timer is only called in __init context and uses __initdata

Andries

arch/i386/kernel/apic.c +1 -1
diff -uprN -X /linux/dontdiff a/arch/i386/kernel/apic.c b/arch/i386/kernel/apic.c
@@ -930,7 +930,7 @@ void __setup_APIC_LVTT(unsigned int cloc
 	apic_write_around(APIC_TMICT, clocks/APIC_DIVISOR);
 }
 
-static void setup_APIC_timer(unsigned int clocks)
+static void __init setup_APIC_timer(unsigned int clocks)
 {
 	unsigned long flags;
 
#1 lore raw
Quoted 8 lines · Andries Brouwer

setup_APIC_timer is only called in __init context and uses __initdata

Andries

diff -uprN -X /linux/dontdiff a/arch/i386/kernel/apic.c b/arch/i386/kernel/apic.c

arch/i386/kernel/apic.c void __setup_APIC_LVTT(unsigned int cloc · line 935

Quoted 7 lines
arch/i386/kernel/apic.c +1 -1
@@ -930,7 +930,7 @@ void __setup_APIC_LVTT(unsigned int cloc
 	apic_write_around(APIC_TMICT, clocks/APIC_DIVISOR);
 }
 
-static void setup_APIC_timer(unsigned int clocks)
+static void __init setup_APIC_timer(unsigned int clocks)
 {
 	unsigned long flags;

Ack.
http://marc.theaimsgroup.com/?l=linux-kernel&m=108727726207069&w=2

Signature · 1 line
~Randy