summaryrefslogtreecommitdiffstats
path: root/arch/m68k/include
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2009-06-11 05:05:00 +0200
committerGreg Ungerer <gerg@uclinux.org>2009-06-11 05:09:11 +0200
commit9d4f94135385b565e2ce4a37f71b53d0fd3664e8 (patch)
tree690ad6fa2fa08793c861745db9d1a35a4648fb34 /arch/m68k/include
parentheaders_check fix: m68k, swab.h (diff)
downloadlinux-9d4f94135385b565e2ce4a37f71b53d0fd3664e8.tar.xz
linux-9d4f94135385b565e2ce4a37f71b53d0fd3664e8.zip
m68knommu: enumerate INIT_THREAD fields properly
Use proper field value setting init INIT_THREAD macro. Fixes this: arch/m68knommu/kernel/init_task.c:27: warning: excess elements in array initializer arch/m68knommu/kernel/init_task.c:27: warning: (near initialization for ‘init_task.thread.fpstate’) Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/include')
-rw-r--r--arch/m68k/include/asm/processor_no.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/m68k/include/asm/processor_no.h b/arch/m68k/include/asm/processor_no.h
index 91cba18acdd3..7a1e0ba35f5a 100644
--- a/arch/m68k/include/asm/processor_no.h
+++ b/arch/m68k/include/asm/processor_no.h
@@ -72,10 +72,10 @@ struct thread_struct {
unsigned char fpstate[FPSTATESIZE]; /* floating point state */
};
-#define INIT_THREAD { \
- sizeof(init_stack) + (unsigned long) init_stack, 0, \
- PS_S, __KERNEL_DS, \
- {0, 0}, 0, {0,}, {0, 0, 0}, {0,}, \
+#define INIT_THREAD { \
+ .ksp = sizeof(init_stack) + (unsigned long) init_stack, \
+ .sr = PS_S, \
+ .fs = __KERNEL_DS, \
}
/*