* [PATCH] C99 initializers for alpha/thread-info.h
@ 2003-02-27 20:00 Art Haas
0 siblings, 0 replies; only message in thread
From: Art Haas @ 2003-02-27 20:00 UTC (permalink / raw)
To: Richard Henderson, linux-kernel; +Cc: Linus Torvalds
Hi.
This trivial patch switches the file to use C99 initializers.
Art Haas
===== include/asm-alpha/thread_info.h 1.4 vs edited =====
--- 1.4/include/asm-alpha/thread_info.h Fri Dec 6 19:54:50 2002
+++ edited/include/asm-alpha/thread_info.h Thu Feb 27 13:48:14 2003
@@ -34,9 +34,9 @@
*/
#define INIT_THREAD_INFO(tsk) \
{ \
- task: &tsk, \
- exec_domain: &default_exec_domain, \
- addr_limit: KERNEL_DS, \
+ .task = &tsk, \
+ .exec_domain = &default_exec_domain, \
+ .addr_limit = KERNEL_DS, \
.restart_block = { \
.fn = do_no_restart_syscall, \
}, \
--
They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety.
-- Benjamin Franklin, Historical Review of Pennsylvania, 1759
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-02-27 21:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-27 20:00 [PATCH] C99 initializers for alpha/thread-info.h Art Haas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox