[Skiboot] [PATCH v2 08/14] xive: Use symbolic constant

Benjamin Herrenschmidt benh at kernel.crashing.org
Sun Sep 10 17:33:24 AEST 2017


Cosmetic fix.

Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
---
 hw/xive.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/xive.c b/hw/xive.c
index 98839219..1d306b93 100644
--- a/hw/xive.c
+++ b/hw/xive.c
@@ -2893,7 +2893,7 @@ void xive_cpu_callin(struct cpu_thread *cpu)
 	in_be32(xs->tm_ring1 + TM_SPC_PULL_POOL_CTX);
 
 	/* Clear VT and LSI bit */
-	out_8(xs->tm_ring1 + TM_QW3_HV_PHYS + 8, 0);
+	out_8(xs->tm_ring1 + TM_QW3_HV_PHYS + TM_WORD2, 0);
 
 	/* Set VT to 1 */
 	out_8(xs->tm_ring1 + TM_QW3_HV_PHYS + TM_WORD2, 0x80);
-- 
2.13.5



More information about the Skiboot mailing list