Skip to contentSkip to conversation

__initdata in apic.c

PATCH New Andries Brouwer 1 participant 1 message Feb 26, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 __initdata in apic.c

wait_timer_tick refers to the __init functions wait_8254_wraparound or wait_hpet_tick, hence must be __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
@@ -894,7 +894,7 @@ static void __init wait_8254_wraparound(
  * Default initialization for 8254 timers. If we use other timers like HPET,
  * we override this later
  */
-void (*wait_timer_tick)(void) = wait_8254_wraparound;
+void (*wait_timer_tick)(void) __initdata = wait_8254_wraparound;
 
 /*
  * This function sets up the local APIC timer, with a timeout of