[Skiboot] [PATCH 7/7] hdata: Use existing define for PCIA signature check

Nicholas Piggin npiggin at gmail.com
Wed Sep 6 20:10:17 AEST 2023


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

diff --git a/hdata/pcia.c b/hdata/pcia.c
index 36fc84c3a..1a94a8322 100644
--- a/hdata/pcia.c
+++ b/hdata/pcia.c
@@ -180,7 +180,7 @@ bool pcia_parse(void)
 	const void *pcia;
 	struct dt_node *cpus;
 
-	pcia = get_hdif(&spiras->ntuples.pcia, "SPPCIA");
+	pcia = get_hdif(&spiras->ntuples.pcia, SPPCIA_HDIF_SIG);
 	if (!pcia)
 		return false;
 
-- 
2.40.1



More information about the Skiboot mailing list