projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80beb08
)
aspeed: Remove use of qemu_get_cpu
author
Peter Delevoryas
<pdel@fb.com>
Thu, 30 Jun 2022 07:21:13 +0000
(09:21 +0200)
committer
Cédric Le Goater
<clg@kaod.org>
Thu, 30 Jun 2022 07:21:13 +0000
(09:21 +0200)
Signed-off-by: Peter Delevoryas <pdel@fb.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <
20220624003701
.
1363500
-6-pdel@fb.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/arm/aspeed_ast2600.c
patch
|
blob
|
history
diff --git
a/hw/arm/aspeed_ast2600.c
b/hw/arm/aspeed_ast2600.c
index dbb4a2e838f919dce05d3ca5cfd302e6d9367e36..29d2e2ece220e82c58405e53a246e34d678ac701 100644
(file)
--- a/
hw/arm/aspeed_ast2600.c
+++ b/
hw/arm/aspeed_ast2600.c
@@
-318,7
+318,7
@@
static void aspeed_soc_ast2600_realize(DeviceState *dev, Error **errp)
for (i = 0; i < sc->num_cpus; i++) {
SysBusDevice *sbd = SYS_BUS_DEVICE(&s->a7mpcore);
- DeviceState *d = DEVICE(
qemu_get_cpu(i)
);
+ DeviceState *d = DEVICE(
&s->cpu[i]
);
irq = qdev_get_gpio_in(d, ARM_CPU_IRQ);
sysbus_connect_irq(sbd, i, irq);