Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113147
b: refs/heads/master
c: 1de937a
h: refs/heads/master
i:
  113145: 396d598
  113143: c01f83d
v: v3
  • Loading branch information
David S. Miller committed Sep 20, 2008
1 parent 43fa30e commit 1292eac
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a73554aedb8f69bd2024cbbf74980582bb91afb4
refs/heads/master: 1de937a536ea1a132d22dc198a9e07d208d40a29
3 changes: 2 additions & 1 deletion trunk/arch/sparc/kernel/sun4m_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,8 @@ static void sun4m_clear_clock_irq(void)
sbus_readl(&timers_global->l10_limit);
}

static void sun4m_clear_profile_irq(int cpu)
/* Exported for sun4m_smp.c */
void sun4m_clear_profile_irq(int cpu)
{
sbus_readl(&timers_percpu[cpu]->l14_limit);
}
Expand Down
4 changes: 3 additions & 1 deletion trunk/arch/sparc/kernel/sun4m_smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -313,14 +313,16 @@ void smp4m_cross_call_irq(void)
ccall_info.processors_out[i] = 1;
}

extern void sun4m_clear_profile_irq(int cpu);

void smp4m_percpu_timer_interrupt(struct pt_regs *regs)
{
struct pt_regs *old_regs;
int cpu = smp_processor_id();

old_regs = set_irq_regs(regs);

clear_profile_irq(cpu);
sun4m_clear_profile_irq(cpu);

profile_tick(CPU_PROFILING);

Expand Down

0 comments on commit 1292eac

Please sign in to comment.