Re: [PATCH] more apic.c

2005-02-26 Thread Randy.Dunlap
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.0 +0100
+++ b/arch/i386/kernel/apic.c	2005-02-26 16:13:21.0 +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=108727726207069=2
--
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] more apic.c

2005-02-26 Thread 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
--- a/arch/i386/kernel/apic.c   2005-02-26 12:13:28.0 +0100
+++ b/arch/i386/kernel/apic.c   2005-02-26 16:13:21.0 +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;
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] more apic.c

2005-02-26 Thread 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
--- a/arch/i386/kernel/apic.c   2005-02-26 12:13:28.0 +0100
+++ b/arch/i386/kernel/apic.c   2005-02-26 16:13:21.0 +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;
 
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] more apic.c

2005-02-26 Thread Randy.Dunlap
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.0 +0100
+++ b/arch/i386/kernel/apic.c	2005-02-26 16:13:21.0 +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-kernelm=108727726207069w=2
--
~Randy
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/