Am 15.05.2012 13:08, schrieb Peter Maydell: > On 14 May 2012 18:31, Andreas Färber <afaer...@suse.de> wrote: >> The board initializes only one CPU, so replace first_cpu with that CPU's >> state to facilitate review of arm_load_kernel() signature change and to >> avoid double casts then. > > There was a patch proposed to add SMP support to this board: > http://lists.gnu.org/archive/html/qemu-devel/2012-04/msg00047.html > > I dunno whether that changes the best thing to do in this patch.
Thanks for pointing me to this. From what I see that series has open issues and was not applied to target-arm.next yet, right? In that case I can't rebase my patches on top of it, but I get that touching first_cpu here is not a good idea for SMP. I'll apply the preceding patches and will respin with arm_env_get_cpu(first_cpu) in 15/22. Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg