diff options
Diffstat (limited to 'arch/powerpc/platforms/pseries/hvcserver.c')
-rw-r--r-- | arch/powerpc/platforms/pseries/hvcserver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/pseries/hvcserver.c b/arch/powerpc/platforms/pseries/hvcserver.c index 4557e91626c4..eedb64594dc5 100644 --- a/arch/powerpc/platforms/pseries/hvcserver.c +++ b/arch/powerpc/platforms/pseries/hvcserver.c | |||
@@ -163,8 +163,8 @@ int hvcs_get_partner_info(uint32_t unit_address, struct list_head *head, | |||
163 | return retval; | 163 | return retval; |
164 | } | 164 | } |
165 | 165 | ||
166 | last_p_partition_ID = pi_buff[0]; | 166 | last_p_partition_ID = be64_to_cpu(pi_buff[0]); |
167 | last_p_unit_address = pi_buff[1]; | 167 | last_p_unit_address = be64_to_cpu(pi_buff[1]); |
168 | 168 | ||
169 | /* This indicates that there are no further partners */ | 169 | /* This indicates that there are no further partners */ |
170 | if (last_p_partition_ID == ~0UL | 170 | if (last_p_partition_ID == ~0UL |