Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 367244
b: refs/heads/master
c: a9a193f
h: refs/heads/master
v: v3
  • Loading branch information
Liviu Dudau authored and Catalin Marinas committed Mar 26, 2013
1 parent 463f607 commit e5ec5fc
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 0359b0e2d0bbd28289c38ebe779b5f1c61f8ccc8
refs/heads/master: a9a193ffe51d036a7c2d30d7fbdb66498c688237
5 changes: 3 additions & 2 deletions trunk/arch/arm64/kernel/smp_psci.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <linux/smp.h>

#include <asm/psci.h>
#include <asm/smp_plat.h>

static int __init smp_psci_init_cpu(struct device_node *dn, int cpu)
{
Expand All @@ -36,7 +37,7 @@ static int __init smp_psci_prepare_cpu(int cpu)
return -ENODEV;
}

err = psci_ops.cpu_on(cpu, __pa(secondary_holding_pen));
err = psci_ops.cpu_on(cpu_logical_map(cpu), __pa(secondary_holding_pen));
if (err) {
pr_err("psci: failed to boot CPU%d (%d)\n", cpu, err);
return err;
Expand All @@ -47,6 +48,6 @@ static int __init smp_psci_prepare_cpu(int cpu)

const struct smp_enable_ops smp_psci_ops __initconst = {
.name = "psci",
.init_cpu = smp_psci_init_cpu,
.init_cpu = smp_psci_init_cpu,
.prepare_cpu = smp_psci_prepare_cpu,
};

0 comments on commit e5ec5fc

Please sign in to comment.