Re: [PATCH] Fix "Section mismatch" compile warning

2007-03-28 Thread Andrew Morton
On Mon, 26 Mar 2007 17:19:33 +0200
Bernhard Walle <[EMAIL PROTECTED]> wrote:

> Fix "Section mismatch" warnings in arch/x86_64/kernel/time.c
> 

Please always quote the warnings in the changelog when fixing them, thanks.
-
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: [discuss] [PATCH] Fix "Section mismatch" compile warning

2007-03-28 Thread Andi Kleen
On Monday 26 March 2007 17:19, Bernhard Walle wrote:
> Fix "Section mismatch" warnings in arch/x86_64/kernel/time.c

Applied thanks

-Andi
-
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: [discuss] [PATCH] Fix Section mismatch compile warning

2007-03-28 Thread Andi Kleen
On Monday 26 March 2007 17:19, Bernhard Walle wrote:
 Fix Section mismatch warnings in arch/x86_64/kernel/time.c

Applied thanks

-Andi
-
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] Fix Section mismatch compile warning

2007-03-28 Thread Andrew Morton
On Mon, 26 Mar 2007 17:19:33 +0200
Bernhard Walle [EMAIL PROTECTED] wrote:

 Fix Section mismatch warnings in arch/x86_64/kernel/time.c
 

Please always quote the warnings in the changelog when fixing them, thanks.
-
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] Fix "Section mismatch" compile warning

2007-03-26 Thread Bernhard Walle
Fix "Section mismatch" warnings in arch/x86_64/kernel/time.c

Signed-off-by: Bernhard Walle <[EMAIL PROTECTED]>

---
 arch/x86_64/kernel/time.c |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Index: linux-2.6.21-rc4-mm1/arch/x86_64/kernel/time.c
===
--- linux-2.6.21-rc4-mm1.orig/arch/x86_64/kernel/time.c
+++ linux-2.6.21-rc4-mm1/arch/x86_64/kernel/time.c
@@ -282,7 +282,7 @@ static unsigned int __init pit_calibrate
 #define PIT_MODE 0x43
 #define PIT_CH0  0x40
 
-static void __init __pit_init(int val, u8 mode)
+static void __pit_init(int val, u8 mode)
 {
unsigned long flags;
 
@@ -298,12 +298,12 @@ void __init pit_init(void)
__pit_init(LATCH, 0x34); /* binary, mode 2, LSB/MSB, ch 0 */
 }
 
-void __init pit_stop_interrupt(void)
+void pit_stop_interrupt(void)
 {
__pit_init(0, 0x30); /* mode 0 */
 }
 
-void __init stop_timer_interrupt(void)
+void stop_timer_interrupt(void)
 {
char *name;
if (hpet_address) {
-
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] Fix Section mismatch compile warning

2007-03-26 Thread Bernhard Walle
Fix Section mismatch warnings in arch/x86_64/kernel/time.c

Signed-off-by: Bernhard Walle [EMAIL PROTECTED]

---
 arch/x86_64/kernel/time.c |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Index: linux-2.6.21-rc4-mm1/arch/x86_64/kernel/time.c
===
--- linux-2.6.21-rc4-mm1.orig/arch/x86_64/kernel/time.c
+++ linux-2.6.21-rc4-mm1/arch/x86_64/kernel/time.c
@@ -282,7 +282,7 @@ static unsigned int __init pit_calibrate
 #define PIT_MODE 0x43
 #define PIT_CH0  0x40
 
-static void __init __pit_init(int val, u8 mode)
+static void __pit_init(int val, u8 mode)
 {
unsigned long flags;
 
@@ -298,12 +298,12 @@ void __init pit_init(void)
__pit_init(LATCH, 0x34); /* binary, mode 2, LSB/MSB, ch 0 */
 }
 
-void __init pit_stop_interrupt(void)
+void pit_stop_interrupt(void)
 {
__pit_init(0, 0x30); /* mode 0 */
 }
 
-void __init stop_timer_interrupt(void)
+void stop_timer_interrupt(void)
 {
char *name;
if (hpet_address) {
-
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/