Skip to content

Commit

Permalink
[PATCH] x86-64: Fix "Section mismatch" compile warning
Browse files Browse the repository at this point in the history
Fix "Section mismatch" warnings in arch/x86_64/kernel/time.c

Signed-off-by: Bernhard Walle <bwalle@suse.de>
Signed-off-by: Andi Kleen <ak@suse.de>
  • Loading branch information
Bernhard Walle authored and Andi Kleen committed May 2, 2007
1 parent dd4ecfc commit 141f9cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/x86_64/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ static unsigned int __init pit_calibrate_tsc(void)
#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;

Expand All @@ -344,12 +344,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) {
Expand Down

0 comments on commit 141f9cf

Please sign in to comment.