All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brice Goglin <Brice.Goglin@ens-lyon.org>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.14-mm1
Date: Sun, 06 Nov 2005 23:04:26 -0500	[thread overview]
Message-ID: <436ED24A.7090006@ens-lyon.org> (raw)
In-Reply-To: <20051106182447.5f571a46.akpm@osdl.org>

[-- Attachment #1: Type: text/plain, Size: 500 bytes --]

Andrew Morton wrote:

>ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.14/2.6.14-mm1/
>  
>
Hi Andrew,

drivers/cpufreq/cpufreq.c uses current_in_cpu_hotplug.
But, kernel/cpu.c is not built on UP boxes.
This generates the following error:

  LD      .tmp_vmlinux1
drivers/built-in.o: In function `__cpufreq_driver_target':
: undefined reference to `current_in_cpu_hotplug'

The attached patch should fix it.

Signed-off-by: Brice Goglin <Brice.Goglin@ens-lyon.org>

Regards,
Brice


[-- Attachment #2: fix-missing-current_in_cpu_hotplug-on-up.patch --]
[-- Type: text/x-patch, Size: 912 bytes --]

--- linux-mm/include/linux/cpu.h.old	2005-11-06 22:08:39.000000000 -0500
+++ linux-mm/include/linux/cpu.h	2005-11-06 22:41:17.000000000 -0500
@@ -33,7 +33,6 @@
 
 extern int register_cpu(struct cpu *, int, struct node *);
 extern struct sys_device *get_cpu_sysdev(int cpu);
-extern int current_in_cpu_hotplug(void);
 #ifdef CONFIG_HOTPLUG_CPU
 extern void unregister_cpu(struct cpu *, struct node *);
 #endif
@@ -43,6 +42,7 @@
 /* Need to know about CPUs going up/down? */
 extern int register_cpu_notifier(struct notifier_block *nb);
 extern void unregister_cpu_notifier(struct notifier_block *nb);
+extern int current_in_cpu_hotplug(void);
 
 int cpu_up(unsigned int cpu);
 
@@ -55,6 +55,10 @@
 static inline void unregister_cpu_notifier(struct notifier_block *nb)
 {
 }
+static inline int current_in_cpu_hotplug(void)
+{
+	return 0;
+}
 
 #endif /* CONFIG_SMP */
 extern struct sysdev_class cpu_sysdev_class;

  parent reply	other threads:[~2005-11-07  4:03 UTC|newest]

Thread overview: 67+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-07  2:24 2.6.14-mm1 Andrew Morton
2005-11-07  3:25 ` 2.6.14-mm1 Christoph Hellwig
2005-11-07  6:12   ` 2.6.14-mm1 Andrew Morton
2005-11-07  6:34     ` 2.6.14-mm1 Herbert Xu
2005-11-07  3:30 ` 2.6.14-mm1 Christoph Hellwig
2005-11-07 12:18   ` 2.6.14-mm1 Roman Zippel
2005-11-07 17:02     ` 2.6.14-mm1 Christoph Hellwig
2005-11-07 17:23       ` 2.6.14-mm1 Roman Zippel
2005-11-07 12:41   ` 2.6.14-mm1 Geert Uytterhoeven
2005-11-07  4:04 ` Brice Goglin [this message]
2005-11-07  4:10 ` 2.6.14-mm1 Reuben Farrelly
2005-11-07  6:07   ` 2.6.14-mm1 Andrew Morton
2005-11-07  8:24   ` 2.6.14-mm1 Benoit Boissinot
2005-11-07  9:54 ` 2.6.14-mm1 Reuben Farrelly
2005-11-07 10:09   ` 2.6.14-mm1 Andrew Morton
2005-11-07 10:26     ` 2.6.14-mm1 Neil Brown
2005-11-07 10:37       ` 2.6.14-mm1 Andrew Morton
2005-11-07 10:44         ` 2.6.14-mm1 Reuben Farrelly
2005-11-07 18:52           ` 2.6.14-mm1 Andrew Morton
2005-11-07 19:27             ` 2.6.14-mm1 Alan Stern
2005-11-07 19:27               ` 2.6.14-mm1 Alan Stern
2005-11-07 21:43             ` 2.6.14-mm1 J.A. Magallon
2005-11-08  0:07               ` 2.6.14-mm1 J.A. Magallon
2005-11-08 14:21             ` 2.6.14-mm1 James Bottomley
2005-11-09  0:30               ` 2.6.14-mm1 Reuben Farrelly
2005-11-07 12:00 ` 2.6.14-mm1 Jiri Slaby
2005-11-07 15:04   ` 2.6.14-mm1 Dustin Kirkland
2005-11-07 15:11     ` 2.6.14-mm1 Jiri Slaby
2005-11-07 16:15 ` 2.6.14-mm1 Alexander E. Patrakov
2005-11-07 19:52   ` 2.6.14-mm1 Andrew Morton
2005-11-07 20:07     ` 2.6.14-mm1 Greg KH
2005-11-07 20:30       ` 2.6.14-mm1 Dmitry Torokhov
2005-11-07 20:21     ` 2.6.14-mm1 Valdis.Kletnieks
2005-11-07 20:40       ` 2.6.14-mm1 Dmitry Torokhov
2005-11-07 20:46       ` 2.6.14-mm1 Andrew Morton
2005-11-11  9:32         ` 2.6.14-mm1 Alexander E. Patrakov
     [not found]           ` <437472DA.4090001@linuxfromscratch.org>
2005-11-11 11:50             ` 2.6.14-mm1 Alexander E. Patrakov
2005-11-07 17:37 ` 2.6.14-mm1: drivers/pci/hotplug/: namespace clashes Adrian Bunk
2005-11-07 18:41   ` Rajesh Shah
2005-11-07 20:03     ` Adrian Bunk
2005-11-07 21:37       ` Rajesh Shah
2005-11-07 21:10 ` 2.6.14-mm1: Why is USB_LIBUSUAL user-visible? Adrian Bunk
2005-11-07 21:52   ` Greg KH
2005-11-07 22:26     ` [linux-usb-devel] " Alan Stern
2005-11-07 22:28       ` Greg KH
2005-11-08  0:47         ` [-mm patch] USB_LIBUSUAL shouldn't be user-visible Adrian Bunk
2005-11-09 22:28           ` Greg KH
2005-11-10  6:41             ` Pete Zaitcev
2005-11-10 10:56               ` Adrian Bunk
2005-11-10 23:46                 ` Greg KH
2005-11-11  2:09                   ` Adrian Bunk
2005-11-11  6:13                     ` Greg KH
2005-11-11  9:31                     ` Pete Zaitcev
2005-11-10 12:11               ` Reuben Farrelly
2005-11-11  9:14           ` Pete Zaitcev
2005-11-07 23:34   ` 2.6.14-mm1: Why is USB_LIBUSUAL user-visible? Pete Zaitcev
2005-11-07 22:28 ` 2.6.14-mm1 - cpufreq build problem Rafael J. Wysocki
2005-11-08  4:36 ` [-mm patch] __deprecated_for_modules the lookup_hash() prototype Adrian Bunk
2005-11-10 13:07 ` 2.6.14-mm1 Serge Hallyn
     [not found]   ` <OFE00FE25C.725B5669-ON872570B5.0066EFF0-862570B5.00679646@us.ibm.com>
2005-11-11 17:59     ` 2.6.14-mm1 Serge Hallyn
2005-11-14 17:05       ` 2.6.14-mm1 Greg KH
2005-11-12  0:31 ` 2.6.14-mm1 Michal Piotrowski
2005-11-12  0:51   ` 2.6.14-mm1 Andrew Morton
2005-11-12  1:30     ` 2.6.14-mm1 Michal Piotrowski
2005-11-12  1:47       ` 2.6.14-mm1 Andrew Morton
2005-11-12 18:00         ` 2.6.14-mm1 Michal Piotrowski
  -- strict thread matches above, loose matches on Subject: below --
2005-11-07  2:24 2.6.14-mm1 Andrew Morton

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=436ED24A.7090006@ens-lyon.org \
    --to=brice.goglin@ens-lyon.org \
    --cc=akpm@osdl.org \
    --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.