diff options
| author | Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> | 2008-04-30 03:50:43 -0400 |
|---|---|---|
| committer | Tony Luck <tony.luck@intel.com> | 2008-04-30 17:08:01 -0400 |
| commit | 751fc7849d623bcd5e77fd494b01662599a8dccf (patch) | |
| tree | d349de877e9b6cc5265a8af1cc9f1c2c78031b6a | |
| parent | c5b5a5993234d4db2079e57e456bda5278ef59cf (diff) | |
[IA64] fix section mismatch in arch/ia64/kernel/irq.c
This patch shuts up the following:
WARNING: vmlinux.o(.text+0x7102): Section mismatch in
reference from the function fixup_irqs() to the function
.devinit.text:ia64_disable_timer()
Removing ia64_disable_timer() is safe because there are no functions
calling it other than the fixup_irqs(),
Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
| -rw-r--r-- | arch/ia64/kernel/irq.c | 4 | ||||
| -rw-r--r-- | arch/ia64/kernel/time.c | 5 |
2 files changed, 2 insertions, 7 deletions
diff --git a/arch/ia64/kernel/irq.c b/arch/ia64/kernel/irq.c index 6dee579f205f..7fd18f54c056 100644 --- a/arch/ia64/kernel/irq.c +++ b/arch/ia64/kernel/irq.c | |||
| @@ -183,10 +183,10 @@ void fixup_irqs(void) | |||
| 183 | { | 183 | { |
| 184 | unsigned int irq; | 184 | unsigned int irq; |
| 185 | extern void ia64_process_pending_intr(void); | 185 | extern void ia64_process_pending_intr(void); |
| 186 | extern void ia64_disable_timer(void); | ||
| 187 | extern volatile int time_keeper_id; | 186 | extern volatile int time_keeper_id; |
| 188 | 187 | ||
| 189 | ia64_disable_timer(); | 188 | /* Mask ITV to disable timer */ |
| 189 | ia64_set_itv(1 << 16); | ||
| 190 | 190 | ||
| 191 | /* | 191 | /* |
| 192 | * Find a new timesync master | 192 | * Find a new timesync master |
diff --git a/arch/ia64/kernel/time.c b/arch/ia64/kernel/time.c index 48e15a51782f..8c73643f2d66 100644 --- a/arch/ia64/kernel/time.c +++ b/arch/ia64/kernel/time.c | |||
| @@ -379,11 +379,6 @@ static struct irqaction timer_irqaction = { | |||
| 379 | .name = "timer" | 379 | .name = "timer" |
| 380 | }; | 380 | }; |
| 381 | 381 | ||
| 382 | void __devinit ia64_disable_timer(void) | ||
| 383 | { | ||
| 384 | ia64_set_itv(1 << 16); | ||
| 385 | } | ||
| 386 | |||
| 387 | void __init | 382 | void __init |
| 388 | time_init (void) | 383 | time_init (void) |
| 389 | { | 384 | { |
