Re: mmotm 2010-09-28-16-13 uploaded

From: Valdis . Kletnieks
Date: Tue Sep 28 2010 - 21:27:56 EST


On Tue, 28 Sep 2010 16:13:38 PDT, akpm@xxxxxxxxxxxxxxxxxxxx said:
> The mm-of-the-moment snapshot 2010-09-28-16-13 has been uploaded to
>
> http://userweb.kernel.org/~akpm/mmotm/

Also needs this from Randy Dunlap:

From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

Fix build error and config symbol comment:

drivers/hwmon/pkgtemp.c:413: error:'pkgtemp_cpu_notifier' undeclared (first use in this function)

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
---
drivers/hwmon/pkgtemp.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

--- linux-next-20100928.orig/drivers/hwmon/pkgtemp.c
+++ linux-next-20100928/drivers/hwmon/pkgtemp.c
@@ -386,7 +386,7 @@ static int __cpuinit pkgtemp_cpu_callbac
static struct notifier_block pkgtemp_cpu_notifier __refdata = {
.notifier_call = pkgtemp_cpu_callback,
};
-#endif /* !CONFIG_HOTPLUG_CPU */
+#endif /* CONFIG_HOTPLUG_CPU */

static int __init pkgtemp_init(void)
{
@@ -408,9 +408,9 @@ static int __init pkgtemp_init(void)
err = -ENODEV;
goto exit_driver_unreg;
}
-#endif
-
+#else
register_hotcpu_notifier(&pkgtemp_cpu_notifier);
+#endif
return 0;

#ifndef CONFIG_HOTPLUG_CPU

Attachment: pgp00000.pgp
Description: PGP signature