lkml.org 
[lkml]   [2014]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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;

\
 
 \ /
  Last update: 2014-07-15 09:41    [W:0.044 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site