summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-01-18 18:31:21 -0800
committerLinus Torvalds <torvalds@home.osdl.org>2004-01-18 18:31:21 -0800
commit0bfab7ea3b40f3f82ba46993d51d76f0fd84dda0 (patch)
treec0626cadc0e9985beb08cdc6b1295c6720bccd3b /include
parentac98799688936b91a8d3a416d8102ad10756f3bd (diff)
[PATCH] C99 change to rcupdate.h
From: "Art Haas" <ahaas@airmail.net> Replace the GNU initializers with C99 initializers.
Diffstat (limited to 'include')
-rw-r--r--include/linux/rcupdate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h
index d08ef4c647fb..58048abd7446 100644
--- a/include/linux/rcupdate.h
+++ b/include/linux/rcupdate.h
@@ -55,7 +55,7 @@ struct rcu_head {
};
#define RCU_HEAD_INIT(head) \
- { list: LIST_HEAD_INIT(head.list), func: NULL, arg: NULL }
+ { .list = LIST_HEAD_INIT(head.list), .func = NULL, .arg = NULL }
#define RCU_HEAD(head) struct rcu_head head = RCU_HEAD_INIT(head)
#define INIT_RCU_HEAD(ptr) do { \
INIT_LIST_HEAD(&(ptr)->list); (ptr)->func = NULL; (ptr)->arg = NULL; \