Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 168514
b: refs/heads/master
c: 9b229fa
h: refs/heads/master
v: v3
  • Loading branch information
Catalin Marinas committed Nov 5, 2009
1 parent 85e770d commit 8d6fb8e
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: 1b3a02eb452354fa9b36a7f33dc4c8307bbc40aa
refs/heads/master: 9b229fa0951fb47cbc178be4bd8e9ef185b38802
4 changes: 4 additions & 0 deletions trunk/arch/arm/kernel/smp_scu.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ void __init scu_enable(void __iomem *scu_base)
u32 scu_ctrl;

scu_ctrl = __raw_readl(scu_base + SCU_CTRL);
/* already enabled? */
if (scu_ctrl & 1)
return;

scu_ctrl |= 1;
__raw_writel(scu_ctrl, scu_base + SCU_CTRL);

Expand Down

0 comments on commit 8d6fb8e

Please sign in to comment.