From 063f62046b718566c1005f5d3a768ca3349bfbd5 Mon Sep 17 00:00:00 2001 From: "blaisorblade@yahoo.it" Date: Wed, 25 May 2005 01:31:42 +0200 Subject: [PATCH] --- yaml --- r: 1338 b: refs/heads/master c: 7e43c84e3e5423ae72ae31e4cd7bbccfd1605194 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/wait.h | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 944aef8da676..4a04f1012d56 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 187a1a94d629621d1471b42308e63573b1150773 +refs/heads/master: 7e43c84e3e5423ae72ae31e4cd7bbccfd1605194 diff --git a/trunk/include/linux/wait.h b/trunk/include/linux/wait.h index 17c874a8eb3f..c9486c3efb4a 100644 --- a/trunk/include/linux/wait.h +++ b/trunk/include/linux/wait.h @@ -386,9 +386,7 @@ int wake_bit_function(wait_queue_t *wait, unsigned mode, int sync, void *key); wait_queue_t name = { \ .task = current, \ .func = autoremove_wake_function, \ - .task_list = { .next = &(name).task_list, \ - .prev = &(name).task_list, \ - }, \ + .task_list = LIST_HEAD_INIT((name).task_list), \ } #define DEFINE_WAIT_BIT(name, word, bit) \