]> git.hungrycats.org Git - linux/commitdiff
[PATCH] __initdata in apic.c
authorAndries E. Brouwer <andries.brouwer@cwi.nl>
Sat, 26 Feb 2005 02:03:13 +0000 (18:03 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 26 Feb 2005 02:03:13 +0000 (18:03 -0800)
wait_timer_tick refers to the __init functions wait_8254_wraparound
or wait_hpet_tick, hence must be __initdata.

arch/i386/kernel/apic.c

index 1fff2fcee2425483f79a27fdb445615526b0a370..dea3e9a8a4470e8b108ad2c28e7401f7f10bee5f 100644 (file)
@@ -894,7 +894,7 @@ static void __init wait_8254_wraparound(void)
  * 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