All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brice Goglin <Brice.Goglin@ens-lyon.org>
To: Con Kolivas <kernel@kolivas.org>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: 2.6.16-rc3-mm1
Date: Tue, 14 Feb 2006 18:38:44 -0500	[thread overview]
Message-ID: <43F26A04.7000801@ens-lyon.org> (raw)
In-Reply-To: <200602151026.40852.kernel@kolivas.org>

Con Kolivas wrote:

>On Wednesday 15 February 2006 07:28, Andrew Morton wrote:
>  
>
>>Brice Goglin <Brice.Goglin@ens-lyon.org> wrote:
>>    
>>
>>>WARNING: speedstep-centrino.ko needs unknown symbol cpu_online_map
>>>
>>>This symbol is in include/linux/cpumask.h but actually only defined and
>>>exported in smpboot.c which is not compiled on UP.
>>>      
>>>
>>diff -puN
>>arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c~git-acpi-up-fix-2
>>arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c ---
>>devel/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c~git-acpi-up-fix-2	2
>>006-02-14 12:27:41.000000000 -0800 +++
>>devel-akpm/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c	2006-02-14
>>12:27:41.000000000 -0800 @@ -654,8 +654,10 @@ static int centrino_target
>>(struct cpufr
>> 		return -EINVAL;
>> 	}
>>
>>+#ifdef CONFIG_SMP
>> 	/* cpufreq holds the hotplug lock, so we are safe from here on */
>> 	cpus_and(online_policy_cpus, cpu_online_map, policy->cpus);
>>+#endif
>>    
>>
>
>Shouldn't the cpu_online_map be hardcoded to the first/only cpu on UP instead?
>
>Cheers,
>Con
>  
>
It's actually defined on UP in kernel/sched.c:

#ifndef CONFIG_SMP
cpumask_t cpu_online_map __read_mostly = CPU_MASK_ALL;
cpumask_t cpu_possible_map __read_mostly = CPU_MASK_ALL;
#endif

What about adding an EXPORT_SYMBOL_GPL there ?

Brice


  reply	other threads:[~2006-02-14 23:39 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-14  9:41 2.6.16-rc3-mm1 Andrew Morton
2006-02-14 11:07 ` 2.6.16-rc3-mm1 Marc Koschewski
2006-02-14 11:16 ` 2.6.16-rc3-mm1 Michal Piotrowski
2006-02-14 12:16   ` 2.6.16-rc3-mm1 Sander
2006-02-14 12:46     ` 2.6.16-rc3-mm1 Michal Piotrowski
2006-02-14 13:17 ` 2.6.16-rc3-mm1: i386 compilation broken Adrian Bunk
2006-02-14 13:27   ` Andi Kleen
2006-02-14 13:54     ` Michal Piotrowski
2006-02-14 20:23       ` Andrew Morton
2006-02-14 21:05         ` Andi Kleen
2006-02-14 21:08     ` Adrian Bunk
2006-02-15 13:19     ` Roman Zippel
2006-02-15 13:32       ` Andi Kleen
2006-02-14 14:00 ` 2.6.16-rc3-mm1: ISDN_DRV_GIGASET driver Adrian Bunk
2006-02-15  1:57   ` Tilman Schmidt
2006-02-15 22:10     ` Adrian Bunk
2006-02-14 14:33 ` 2.6.16-rc3-mm1 Brice Goglin
2006-02-14 20:28   ` 2.6.16-rc3-mm1 Andrew Morton
2006-02-14 23:26     ` 2.6.16-rc3-mm1 Con Kolivas
2006-02-14 23:38       ` Brice Goglin [this message]
2006-02-15  2:58       ` 2.6.16-rc3-mm1 Andrew Morton
2006-02-14 15:22 ` [-mm patch] block/blktrace.c: make blk_trace_cleanup() static Adrian Bunk
2006-02-14 15:23   ` Jens Axboe
2006-02-16 23:28 ` 2.6.16-rc3-mm1 Pavel Machek
  -- strict thread matches above, loose matches on Subject: below --
2006-02-14  9:41 2.6.16-rc3-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=43F26A04.7000801@ens-lyon.org \
    --to=brice.goglin@ens-lyon.org \
    --cc=akpm@osdl.org \
    --cc=kernel@kolivas.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.