[<prev] [next>] [day] [month] [year] [list]
Message-ID: <53C4D0A4.3060401@gmail.com>
Date: Tue, 15 Jul 2014 08:56:36 +0200
From: Klemen Jan Enova <klemen.jan.enova@...il.com>
To: linux-kernel@...r.kernel.org
Subject: [PATCH] wait: collapse into one type definition
Signed-off-by: Klemen Jan Enova <klemen.jan.enova@...il.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;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists