Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181886
b: refs/heads/master
c: 20a8ab9
h: refs/heads/master
v: v3
  • Loading branch information
Anton Blanchard authored and Benjamin Herrenschmidt committed Feb 9, 2010
1 parent abbf51b commit 3bb1ff5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 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: 5a2ad98e920dd8ac4cfbc0c1556e930ba2d65427
refs/heads/master: 20a8ab97372e453f58a7b49e0d5e0f832406cffe
22 changes: 5 additions & 17 deletions trunk/arch/powerpc/platforms/pseries/hotplug-cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -387,24 +387,12 @@ static char cede_parameters[CEDE_LATENCY_PARAM_MAX_LENGTH];

static int parse_cede_parameters(void)
{
int call_status;

memset(cede_parameters, 0, CEDE_LATENCY_PARAM_MAX_LENGTH);
call_status = rtas_call(rtas_token("ibm,get-system-parameter"), 3, 1,
NULL,
CEDE_LATENCY_TOKEN,
__pa(cede_parameters),
CEDE_LATENCY_PARAM_MAX_LENGTH);

if (call_status != 0)
printk(KERN_INFO "CEDE_LATENCY: "
"%s %s Error calling get-system-parameter(0x%x)\n",
__FILE__, __func__, call_status);
else
printk(KERN_INFO "CEDE_LATENCY: "
"get-system-parameter successful.\n");

return call_status;
return rtas_call(rtas_token("ibm,get-system-parameter"), 3, 1,
NULL,
CEDE_LATENCY_TOKEN,
__pa(cede_parameters),
CEDE_LATENCY_PARAM_MAX_LENGTH);
}

static int __init pseries_cpu_hotplug_init(void)
Expand Down

0 comments on commit 3bb1ff5

Please sign in to comment.