Skip to content

Commit

Permalink
powerpc/ps3: Fix hcall lv1_read_repository_node
Browse files Browse the repository at this point in the history
The lv1 hcall torvalds#91 should be named lv1_read_repository_node, and
not lv1_get_repository_node_value.  Adjust the lv1 hcall table
and all calls.

Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
glevand authored and ozbenh committed Dec 8, 2011
1 parent 816cb49 commit 7f8cd35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arch/powerpc/include/asm/lv1call.h
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ LV1_CALL(configure_execution_time_variable, 1, 0, 77 )
LV1_CALL(get_spe_irq_outlet, 2, 1, 78 )
LV1_CALL(set_spe_privilege_state_area_1_register, 3, 0, 79 )
LV1_CALL(create_repository_node, 6, 0, 90 )
LV1_CALL(get_repository_node_value, 5, 2, 91 )
LV1_CALL(read_repository_node, 5, 2, 91 )
LV1_CALL(modify_repository_node_value, 6, 0, 92 )
LV1_CALL(remove_repository_node, 4, 0, 93 )
LV1_CALL(read_htab_entries, 2, 5, 95 )
Expand Down
4 changes: 2 additions & 2 deletions arch/powerpc/platforms/ps3/repository.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,11 @@ static int read_node(unsigned int lpar_id, u64 n1, u64 n2, u64 n3, u64 n4,
lpar_id = id;
}

result = lv1_get_repository_node_value(lpar_id, n1, n2, n3, n4, &v1,
result = lv1_read_repository_node(lpar_id, n1, n2, n3, n4, &v1,
&v2);

if (result) {
pr_debug("%s:%d: lv1_get_repository_node_value failed: %s\n",
pr_debug("%s:%d: lv1_read_repository_node failed: %s\n",
__func__, __LINE__, ps3_result(result));
dump_node_name(lpar_id, n1, n2, n3, n4);
return -ENOENT;
Expand Down

0 comments on commit 7f8cd35

Please sign in to comment.