Skip to content

Commit

Permalink
sbe-p9: endian conversion
Browse files Browse the repository at this point in the history
Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
  • Loading branch information
npiggin authored and oohal committed Dec 16, 2019
1 parent a2c74d8 commit 390c4f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/sbe-p9.c
Expand Up @@ -123,7 +123,7 @@ static u64 p9_sbe_rreg(u32 chip_id, u64 reg)
return 0xffffffff;
}

return be64_to_cpu(data);
return data;
}

static void p9_sbe_reg_dump(u32 chip_id)
Expand Down

0 comments on commit 390c4f5

Please sign in to comment.