Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181090
b: refs/heads/master
c: f0cb773
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mundt committed Jan 15, 2010
1 parent 0b10801 commit ae45ac7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: a6198a238baceae9d4e0ce3915f6d239c89b5c08
refs/heads/master: f0cb77372c3cf8c0cb17bbfb30a62506ea119286
5 changes: 4 additions & 1 deletion trunk/arch/sh/kernel/cpu/sh4a/smp-shx3.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ void __init plat_prepare_cpus(unsigned int max_cpus)

void plat_start_cpu(unsigned int cpu, unsigned long entry_point)
{
__raw_writel(entry_point, RESET_REG(cpu));
if (__in_29bit_mode())
__raw_writel(entry_point, RESET_REG(cpu));
else
__raw_writel(virt_to_phys(entry_point), RESET_REG(cpu));

if (!(__raw_readl(STBCR_REG(cpu)) & STBCR_MSTP))
__raw_writel(STBCR_MSTP, STBCR_REG(cpu));
Expand Down

0 comments on commit ae45ac7

Please sign in to comment.