hw/timer/sun4v-rtc: Fix tracing at sun4v_rtc_write()
PATCH 1/1 hw/timer/sun4v-rtc: Fix tracing at sun4v_rtc_write()
The code was converted to use sun4v_rtc_read() by mistake, fix it.
Reported-by David Gibson <[email protected]>
Cc Philippe Mathieu-Daudé <[email protected]>
Signed-off-by Eduardo Habkost <[email protected]>
--- hw/timer/sun4v-rtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/timer/sun4v-rtc.c +1 -1
@@ -41,7 +41,7 @@ static uint64_t sun4v_rtc_read(void *opaque, hwaddr addr,static void sun4v_rtc_write (void *opaque,hwaddr addr,uint64_t val,unsigned size) { -trace_sun4v_rtc_read (addr, val); +trace_sun4v_rtc_write (addr, val); }static const MemoryRegionOps sun4v_rtc_ops = {
Signature · 1 line
2.18.0.rc1.1.g3f1ff2140