From: Michael Neuling Date: Tue, 1 Jul 2008 07:00:39 +0000 (+1000) Subject: powerpc: Fix compile warning in init_thread X-Git-Tag: v2.6.27-rc1~1058^2~66 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e17a2565bf61204cb925c3f77c3c7f6a09eb2fbe;p=linux-2.6-omap-h63xx.git powerpc: Fix compile warning in init_thread Currently we get this warning: arch/powerpc/kernel/init_task.c:33: warning: missing braces around initializer arch/powerpc/kernel/init_task.c:33: warning: (near initialization for 'init_task.thread.fpr[0]') This fixes it. Noticed by Stephen Rothwell. Signed-off-by: Michael Neuling Signed-off-by: Paul Mackerras --- diff --git a/include/asm-powerpc/processor.h b/include/asm-powerpc/processor.h index e93e72df4bc..061cd17ba83 100644 --- a/include/asm-powerpc/processor.h +++ b/include/asm-powerpc/processor.h @@ -222,7 +222,7 @@ struct thread_struct { .ksp_limit = INIT_SP_LIMIT, \ .regs = (struct pt_regs *)INIT_SP - 1, /* XXX bogus, I think */ \ .fs = KERNEL_DS, \ - .fpr = {0}, \ + .fpr = {{0}}, \ .fpscr = { .val = 0, }, \ .fpexc_mode = 0, \ }