Messages in this thread Patch in this message | | | Date | Tue, 15 Jul 2014 08:56:36 +0200 | From | Klemen Jan Enova <> | Subject | [PATCH] wait: collapse into one type definition |
| |
Signed-off-by: Klemen Jan Enova <klemen.jan.enova@gmail.com> --- diff --git a/include/linux/wait.h b/include/linux/wait.h index bd68819..d5ba4c6 100644 --- a/include/linux/wait.h +++ b/include/linux/wait.h @@ -32,11 +32,10 @@ struct wait_bit_queue { wait_queue_t wait; };
-struct __wait_queue_head { +typedef struct { spinlock_t lock; struct list_head task_list; -}; -typedef struct __wait_queue_head wait_queue_head_t; +} wait_queue_head_t;
struct task_struct;
| |