Skip to content

Commit

Permalink
[IA64] fix section mismatch in arch/ia64/kernel/irq.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hidetoshi Seto authored and Tony Luck committed Apr 30, 2008
1 parent c5b5a59 commit 751fc78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions arch/ia64/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,10 @@ void fixup_irqs(void)
{
unsigned int irq;
extern void ia64_process_pending_intr(void);
extern void ia64_disable_timer(void);
extern volatile int time_keeper_id;

ia64_disable_timer();
/* Mask ITV to disable timer */
ia64_set_itv(1 << 16);

/*
* Find a new timesync master
Expand Down
5 changes: 0 additions & 5 deletions arch/ia64/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -379,11 +379,6 @@ static struct irqaction timer_irqaction = {
.name = "timer"
};

void __devinit ia64_disable_timer(void)
{
ia64_set_itv(1 << 16);
}

void __init
time_init (void)
{
Expand Down

0 comments on commit 751fc78

Please sign in to comment.