mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] __initdata in apic.c
@ 2005-02-26 14:49 Andries Brouwer
  0 siblings, 0 replies; only message in thread
From: Andries Brouwer @ 2005-02-26 14:49 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel

wait_timer_tick refers to the __init functions wait_8254_wraparound
or wait_hpet_tick, hence must be __initdata.

Andries

diff -uprN -X /linux/dontdiff a/arch/i386/kernel/apic.c b/arch/i386/kernel/apic.c
--- a/arch/i386/kernel/apic.c	2005-02-26 12:13:28.000000000 +0100
+++ b/arch/i386/kernel/apic.c	2005-02-26 15:59:17.000000000 +0100
@@ -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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-02-26 14:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-26 14:49 [PATCH] __initdata in apic.c Andries Brouwer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®