From: Klemen Jan Enova <klemen.jan.enova@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] wait: collapse into one type definition
Date: Tue, 15 Jul 2014 08:56:36 +0200 [thread overview]
Message-ID: <53C4D0A4.3060401@gmail.com> (raw)
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;
reply other threads:[~2014-07-15 6:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53C4D0A4.3060401@gmail.com \
--to=klemen.jan.enova@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.