]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] C99 designated initializers for include/asm-m68k/thread_info.h
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 3 Nov 2002 07:51:21 +0000 (23:51 -0800)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Sun, 3 Nov 2002 07:51:21 +0000 (23:51 -0800)
C99 designated initializers for include/asm-m68k/thread_info.h (from Art Haas
<ahaas@neosoft.com>)

include/asm-m68k/thread_info.h

index 64c9f51e0c63f8d011c062841685948260a611b6..fb85300edc4d70251b449e1857ba9144343764cb 100644 (file)
@@ -18,8 +18,8 @@ struct thread_info {
 
 #define INIT_THREAD_INFO(tsk)                  \
 {                                              \
-       task:           &tsk,                   \
-       exec_domain:    &default_exec_domain,   \
+       .task           = &tsk,                 \
+       .exec_domain    = &default_exec_domain, \
 }
 
 /* THREAD_SIZE should be 8k, so handle differently for 4k and 8k machines */