Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 360875
b: refs/heads/master
c: 904464b
h: refs/heads/master
i:
  360873: 8fa8ad5
  360871: 28dba85
v: v3
  • Loading branch information
Shawn Guo authored and Russell King committed Mar 3, 2013
1 parent 42b4772 commit 83251fc
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 78305c863074f809f09a96ea97b86d0f0c1c8399
refs/heads/master: 904464b91eca8c665acea033489225af02eeb75a
4 changes: 4 additions & 0 deletions trunk/arch/arm/kernel/smp_twd.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <linux/of_irq.h>
#include <linux/of_address.h>

#include <asm/smp_plat.h>
#include <asm/smp_twd.h>
#include <asm/localtimer.h>

Expand Down Expand Up @@ -373,6 +374,9 @@ void __init twd_local_timer_of_register(void)
struct device_node *np;
int err;

if (!is_smp() || !setup_max_cpus)
return;

np = of_find_matching_node(NULL, twd_of_match);
if (!np)
return;
Expand Down

0 comments on commit 83251fc

Please sign in to comment.