diff options
author | Andreas Färber <afaerber@suse.de> | 2013-02-15 15:56:27 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-02-16 14:51:00 +0100 |
commit | 912ebe10eff6cf7e05f908a44283033c1c0270a0 (patch) | |
tree | 886ec104be873ad3698aeac048af297695486acc /hw/pxa2xx_pcmcia.c | |
parent | 440c8152bd410b0f928d4de6f187f1e2280e1324 (diff) |
ppce500_spin: Replace open-coded CPU loop with qemu_get_cpu()
Potentially env could be NULL whereas cpu would still be valid and
correspond to a previous env.
Wrapping this in qemu_get_cpu(), env is no longer needed, so simplify
code that existed before 55e5c2850293547203874098f7cec148ffd12dfa.
Acked-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/pxa2xx_pcmcia.c')
0 files changed, 0 insertions, 0 deletions