On Tue, Oct 08, 2013 at 11:45:35AM +0400, Alexander Kartashov wrote: > > - memcpy(CORE_THREAD_ARCH_INFO(core)->fpstate->vfp_regs, &vfp.fpregs, sizeof(vfp.fpregs)); > + for (i = 0; i < 32; ++i) Maybe ? for (i = 0; i < ARRAY_SIZE(vfp.fpregs); i++)