]> Pileus Git - ~andy/linux/blobdiff - arch/powerpc/kernel/asm-offsets.c
Merge branch 'kvm-ppc-queue' of git://github.com/agraf/linux-2.6 into queue
[~andy/linux] / arch / powerpc / kernel / asm-offsets.c
index 1fbb2b63195c8964f9d55701656562fc0ba246a7..479b036d36d702734e0800c856a960aa5f91ecaa 100644 (file)
@@ -80,10 +80,11 @@ int main(void)
        DEFINE(TASKTHREADPPR, offsetof(struct task_struct, thread.ppr));
 #else
        DEFINE(THREAD_INFO, offsetof(struct task_struct, stack));
+       DEFINE(THREAD_INFO_GAP, _ALIGN_UP(sizeof(struct thread_info), 16));
+       DEFINE(KSP_LIMIT, offsetof(struct thread_struct, ksp_limit));
 #endif /* CONFIG_PPC64 */
 
        DEFINE(KSP, offsetof(struct thread_struct, ksp));
-       DEFINE(KSP_LIMIT, offsetof(struct thread_struct, ksp_limit));
        DEFINE(PT_REGS, offsetof(struct thread_struct, regs));
 #ifdef CONFIG_BOOKE
        DEFINE(THREAD_NORMSAVES, offsetof(struct thread_struct, normsave[0]));