lkml.org 
[lkml]   [2003]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: [PATCH][0/6] CPU Hotplug update + fixes
Date
In message <Pine.LNX.4.44.0302030301120.9361-100000@montezuma.mastecende.com> y
ou write:
> Hi,
> These patches are in no way an attempt to push this for inclusion,
> but instead a bit of grunt work to keep it current. However i would
> very much so like see it included in mainline.

Zwane, please send me your physical address so I can put you on my Christmas
list 8)

I've stolen these, removed a couple of unrelated cleanups to shrink
it, and put them on my page with you as author (and me as coauthor).

Here are the parts I pulled out (BTW, I'm missing 4/6: can you
re-xmit?)

Index: linux-2.5.59-lch2/include/linux/cpu.h
===================================================================
RCS file: /build/cvsroot/linux-2.5.59/include/linux/cpu.h,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -u -r1.1.1.1 -r1.1.1.1.2.1
--- linux-2.5.59-lch2/include/linux/cpu.h 17 Jan 2003 11:15:50 -0000 1.1.1.1
+++ linux-2.5.59-lch2/include/linux/cpu.h 20 Jan 2003 13:48:27 -0000 1.1.1.1.2.1
@@ -1,3 +1,5 @@
+#ifndef _LINUX_CPU_H
+#define _LINUX_CPU_H
/*
* include/linux/cpu.h - generic cpu definition
*
@@ -16,8 +18,6 @@
* - drivers/base/intf.c
* - Documentation/driver-model/interface.txt
*/
-#ifndef _LINUX_CPU_H_
-#define _LINUX_CPU_H_

#include <linux/device.h>
#include <linux/node.h>
Index: linux-2.5.59-lch2/drivers/base/cpu.c
===================================================================
RCS file: /build/cvsroot/linux-2.5.59/drivers/base/cpu.c,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -u -r1.1.1.1 -r1.1.1.1.2.1
--- linux-2.5.59-lch2/drivers/base/cpu.c 17 Jan 2003 11:15:18 -0000 1.1.1.1
+++ linux-2.5.59-lch2/drivers/base/cpu.c 20 Jan 2003 13:48:26 -0000 1.1.1.1.2.1
@@ -14,11 +14,11 @@
{
return 0;
}
+
struct device_class cpu_devclass = {
.name = "cpu",
.add_device = cpu_add_device,
};
-

struct device_driver cpu_driver = {
.name = "cpu",
Index: linux-2.5.59-lch2/mm/page-writeback.c
===================================================================
RCS file: /build/cvsroot/linux-2.5.59/mm/page-writeback.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 page-writeback.c
--- linux-2.5.59-lch2/mm/page-writeback.c 17 Jan 2003 11:16:41 -0000 1.1.1.1
+++ linux-2.5.59-lch2/mm/page-writeback.c 21 Jan 2003 04:48:29 -0000
@@ -350,6 +350,7 @@
static int
ratelimit_handler(struct notifier_block *self, unsigned long u, void *v)
{
+ /* This should be fine for all cases */
set_ratelimit();
return 0;
}
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.055 / U:0.804 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site