* [PATCH] wait: collapse into one type definition
@ 2014-07-15 6:56 Klemen Jan Enova
0 siblings, 0 replies; only message in thread
From: Klemen Jan Enova @ 2014-07-15 6:56 UTC (permalink / raw)
To: linux-kernel
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;
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-07-15 6:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-15 6:56 [PATCH] wait: collapse into one type definition Klemen Jan Enova
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox