aboutsummaryrefslogtreecommitdiff
path: root/hw/xive.c
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2019-11-11 15:44:44 +1000
committerOliver O'Halloran <oohall@gmail.com>2019-11-11 18:35:00 +1100
commit192d5865f0bbd3ea1ccf3bc2ee0fd2ebfbea06d1 (patch)
treebca3274bb1d3c06ff05481bcf20e341102f44401 /hw/xive.c
parent154e4eedd84470b8d47c0bd8f3a498262fca8d18 (diff)
downloadskiboot-192d5865f0bbd3ea1ccf3bc2ee0fd2ebfbea06d1.zip
skiboot-192d5865f0bbd3ea1ccf3bc2ee0fd2ebfbea06d1.tar.gz
skiboot-192d5865f0bbd3ea1ccf3bc2ee0fd2ebfbea06d1.tar.bz2
xive/p9: sbe size debug print fix
Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'hw/xive.c')
-rw-r--r--hw/xive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xive.c b/hw/xive.c
index 324b8d0..80ab250 100644
--- a/hw/xive.c
+++ b/hw/xive.c
@@ -1623,7 +1623,7 @@ static bool xive_prealloc_tables(struct xive *x)
}
/* SBEs are initialized to 0b01 which corresponds to "ints off" */
memset(x->sbe_base, 0x55, SBE_SIZE);
- xive_dbg(x, "SBE at %p size 0x%x\n", x->sbe_base, IVT_SIZE);
+ xive_dbg(x, "SBE at %p size 0x%x\n", x->sbe_base, SBE_SIZE);
/* EAS/IVT entries are 8 bytes */
x->ivt_base = local_alloc(x->chip_id, IVT_SIZE, IVT_SIZE);