diff mbox series

[v3,08/13] xive: Use symbolic constant

Message ID 20170910073607.27555-8-benh@kernel.crashing.org
State Accepted
Headers show
Series [v3,01/13] xive: Remove useless memory barriers in VP/EQ inits | expand

Commit Message

Benjamin Herrenschmidt Sept. 10, 2017, 7:36 a.m. UTC
Cosmetic fix.

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

Patch

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);