Skip to contentSkip to conversation

+ sched-remove-init_completion.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Oct 15, 2013

lore
Share & tools
lore
#0 lore raw

Subject: + sched-remove-init_completion.patch added to -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 15 Oct 2013 15:25:41 -0700

The patch titled
Subject: sched: remove INIT_COMPLETION
has been added to the -mm tree. Its filename is
sched-remove-init_completion.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/sched-remove-init_completion.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/sched-remove-init_completion.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Wolfram Sang <[email protected]>
Subject: sched: remove INIT_COMPLETION

All users are converted over to reinit_completion(). Remove the old macro now.

---

 include/linux/completion.h |   10 ----------
 1 file changed, 10 deletions(-)
include/linux/completion.h renamed from include/linux/completion.h~sched-remove-init_completion +0 -9
diff -puN include/linux/completion.h~sched-remove-init_completion include/linux/completion.h
@@ -106,14 +106,4 @@ extern bool completion_done(struct compl
 extern void complete(struct completion *);
 extern void complete_all(struct completion *);
 
-/**
- * INIT_COMPLETION - reinitialize a completion structure
- * @x:  completion structure to be reinitialized
- *
- * This macro should be used to reinitialize a completion structure so it can
- * be reused. This is especially important after complete_all() is used.
- */
-#define INIT_COMPLETION(x)	((x).done = 0)
-