diff options
author | Michael Neuling <mikey@neuling.org> | 2008-07-01 03:00:39 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-07-03 02:58:08 -0400 |
commit | e17a2565bf61204cb925c3f77c3c7f6a09eb2fbe (patch) | |
tree | f82df5037a68fa9ded94d81115dde005057ad923 /include | |
parent | db7f37de2c8346c33cf9279fa9d8e8316e8d821c (diff) |
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 <mikey@neuling.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-powerpc/processor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-powerpc/processor.h b/include/asm-powerpc/processor.h index e93e72df4bca..061cd17ba83b 100644 --- a/include/asm-powerpc/processor.h +++ b/include/asm-powerpc/processor.h | |||
@@ -222,7 +222,7 @@ struct thread_struct { | |||
222 | .ksp_limit = INIT_SP_LIMIT, \ | 222 | .ksp_limit = INIT_SP_LIMIT, \ |
223 | .regs = (struct pt_regs *)INIT_SP - 1, /* XXX bogus, I think */ \ | 223 | .regs = (struct pt_regs *)INIT_SP - 1, /* XXX bogus, I think */ \ |
224 | .fs = KERNEL_DS, \ | 224 | .fs = KERNEL_DS, \ |
225 | .fpr = {0}, \ | 225 | .fpr = {{0}}, \ |
226 | .fpscr = { .val = 0, }, \ | 226 | .fpscr = { .val = 0, }, \ |
227 | .fpexc_mode = 0, \ | 227 | .fpexc_mode = 0, \ |
228 | } | 228 | } |