[Skiboot] [PATCH 4/6] fixup_spira remove incorrect endian conversion

Nicholas Piggin npiggin at gmail.com
Wed Sep 25 11:19:19 AEST 2019


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

diff --git a/hdata/spira.c b/hdata/spira.c
index b0e8b88d1..40524e87e 100644
--- a/hdata/spira.c
+++ b/hdata/spira.c
@@ -1652,7 +1652,7 @@ static void add_npus(void)
 static void fixup_spira(void)
 {
 #if !defined(TEST)
-	spiras = (struct spiras *)CPU_TO_BE64(SPIRA_HEAP_BASE);
+	spiras = (struct spiras *)SPIRA_HEAP_BASE;
 #endif
 
 	/* Validate SPIRA-S signature */
-- 
2.23.0



More information about the Skiboot mailing list