aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2017-09-10 17:36:02 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-09-12 22:52:08 -0500
commite608f9ee6b080ddb6a0e59b91549f25d17f7dac5 (patch)
treef873ad149a84dbe950ee1fc654cbb249ccd92d24 /hw
parent5cebd51f4b3173b4c3f052b1eb358ff5ff81cd9b (diff)
downloadskiboot-e608f9ee6b080ddb6a0e59b91549f25d17f7dac5.zip
skiboot-e608f9ee6b080ddb6a0e59b91549f25d17f7dac5.tar.gz
skiboot-e608f9ee6b080ddb6a0e59b91549f25d17f7dac5.tar.bz2
xive: Use symbolic constant
Cosmetic fix. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/xive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xive.c b/hw/xive.c
index 9883921..1d306b9 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);