Commit 141f9cfe authored by Bernhard Walle's avatar Bernhard Walle Committed by Andi Kleen

[PATCH] x86-64: Fix "Section mismatch" compile warning

Fix "Section mismatch" warnings in arch/x86_64/kernel/time.c
Signed-off-by: default avatarBernhard Walle <bwalle@suse.de>
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
parent dd4ecfc2
...@@ -328,7 +328,7 @@ static unsigned int __init pit_calibrate_tsc(void) ...@@ -328,7 +328,7 @@ static unsigned int __init pit_calibrate_tsc(void)
#define PIT_MODE 0x43 #define PIT_MODE 0x43
#define PIT_CH0 0x40 #define PIT_CH0 0x40
static void __init __pit_init(int val, u8 mode) static void __pit_init(int val, u8 mode)
{ {
unsigned long flags; unsigned long flags;
...@@ -344,12 +344,12 @@ void __init pit_init(void) ...@@ -344,12 +344,12 @@ void __init pit_init(void)
__pit_init(LATCH, 0x34); /* binary, mode 2, LSB/MSB, ch 0 */ __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 */ __pit_init(0, 0x30); /* mode 0 */
} }
void __init stop_timer_interrupt(void) void stop_timer_interrupt(void)
{ {
char *name; char *name;
if (hpet_address) { if (hpet_address) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment