Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 264619
b: refs/heads/master
c: 0af8aa0
h: refs/heads/master
i:
  264617: 09eb87b
  264615: 04ecde8
v: v3
  • Loading branch information
Shawn Guo authored and Russell King committed Oct 17, 2011
1 parent 9a0ccf6 commit befb3bb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0b5a1b95dcdfa451125132d5ce3f79a27ffb0950
refs/heads/master: 0af8aa0069e43f90d59666510342c05e97d8c4b8
4 changes: 4 additions & 0 deletions trunk/arch/arm/include/asm/localtimer.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ void percpu_timer_setup(void);
*/
asmlinkage void do_local_timer(struct pt_regs *);

/*
* Called from C code
*/
void handle_local_timer(struct pt_regs *);

#ifdef CONFIG_LOCAL_TIMERS

Expand Down
5 changes: 5 additions & 0 deletions trunk/arch/arm/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,11 @@ static void ipi_timer(void)

#ifdef CONFIG_LOCAL_TIMERS
asmlinkage void __exception_irq_entry do_local_timer(struct pt_regs *regs)
{
handle_local_timer(regs);
}

void handle_local_timer(struct pt_regs *regs)
{
struct pt_regs *old_regs = set_irq_regs(regs);
int cpu = smp_processor_id();
Expand Down

0 comments on commit befb3bb

Please sign in to comment.