[Skiboot] [PATCH v5 18/27] sbe-p9: endian conversion

Nicholas Piggin npiggin at gmail.com
Tue Oct 15 14:07:08 AEDT 2019


Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
---
 hw/sbe-p9.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/sbe-p9.c b/hw/sbe-p9.c
index 1b5f29ec1..53f378e18 100644
--- a/hw/sbe-p9.c
+++ b/hw/sbe-p9.c
@@ -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)
-- 
2.23.0



More information about the Skiboot mailing list