mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [merged] lib-percpu_counterc-enclose-hotplug-only-variables-in-hotplug-ifdef.patch removed from -mm tree
@ 2011-11-01 21:16 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2011-11-01 21:16 UTC (permalink / raw)
  To: glommer, mm-commits


The patch titled
     Subject: lib/percpu_counter.c: enclose hotplug only variables in hotplug ifdef
has been removed from the -mm tree.  Its filename was
     lib-percpu_counterc-enclose-hotplug-only-variables-in-hotplug-ifdef.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
From: Glauber Costa <glommer@parallels.com>
Subject: lib/percpu_counter.c: enclose hotplug only variables in hotplug ifdef

These variables are only used when CONFIG_HOTPLUG_CPU is enabled, they are
ifdef'ed everywhere else.  So don't define them when CONFIG_HOTPLUG_CPU is
not enabled.

Signed-off-by: Glauber Costa <glommer@parallels.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 lib/percpu_counter.c |    2 ++
 1 file changed, 2 insertions(+)

diff -puN lib/percpu_counter.c~lib-percpu_counterc-enclose-hotplug-only-variables-in-hotplug-ifdef lib/percpu_counter.c
--- a/lib/percpu_counter.c~lib-percpu_counterc-enclose-hotplug-only-variables-in-hotplug-ifdef
+++ a/lib/percpu_counter.c
@@ -10,8 +10,10 @@
 #include <linux/module.h>
 #include <linux/debugobjects.h>
 
+#ifdef CONFIG_HOTPLUG_CPU
 static LIST_HEAD(percpu_counters);
 static DEFINE_MUTEX(percpu_counters_lock);
+#endif
 
 #ifdef CONFIG_DEBUG_OBJECTS_PERCPU_COUNTER
 
_

Patches currently in -mm which might be from glommer@parallels.com are

origin.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-11-01 21:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-01 21:16 [merged] lib-percpu_counterc-enclose-hotplug-only-variables-in-hotplug-ifdef.patch removed from -mm tree akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).