* [PATCH] more apic.c
@ 2005-02-26 15:03 Andries Brouwer
2005-02-27 1:36 ` Randy.Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: Andries Brouwer @ 2005-02-26 15:03 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel
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
--- a/arch/i386/kernel/apic.c 2005-02-26 12:13:28.000000000 +0100
+++ b/arch/i386/kernel/apic.c 2005-02-26 16:13:21.000000000 +0100
@@ -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;
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] more apic.c
2005-02-26 15:03 [PATCH] more apic.c Andries Brouwer
@ 2005-02-27 1:36 ` Randy.Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy.Dunlap @ 2005-02-27 1:36 UTC (permalink / raw)
To: Andries Brouwer; +Cc: torvalds, linux-kernel
Andries Brouwer wrote:
> 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
> --- a/arch/i386/kernel/apic.c 2005-02-26 12:13:28.000000000 +0100
> +++ b/arch/i386/kernel/apic.c 2005-02-26 16:13:21.000000000 +0100
> @@ -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
--
~Randy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-02-27 1:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-26 15:03 [PATCH] more apic.c Andries Brouwer
2005-02-27 1:36 ` Randy.Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox