public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.0-test3: #undef SMP && #define NUMA does not compile
@ 2003-08-18 15:46 Andreas Schwab
  2003-08-18 16:00 ` Matthew Wilcox
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Andreas Schwab @ 2003-08-18 15:46 UTC (permalink / raw)
  To: linux-ia64

When configuring 2.6.0-test3 with CONFIG_SMP disabled and CONFIG_NUMA
enabled I get undefined references to cpu_to_node_map and
node_to_cpu_mask.  Both variables are defined in
arch/ia64/kernel/smpboot.c, thus only available for SMP.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.0-test3: #undef SMP && #define NUMA does not compile
  2003-08-18 15:46 2.6.0-test3: #undef SMP && #define NUMA does not compile Andreas Schwab
@ 2003-08-18 16:00 ` Matthew Wilcox
  2003-08-18 16:05 ` Andreas Schwab
  2003-08-18 16:13 ` Matthew Wilcox
  2 siblings, 0 replies; 4+ messages in thread
From: Matthew Wilcox @ 2003-08-18 16:00 UTC (permalink / raw)
  To: linux-ia64

On Mon, Aug 18, 2003 at 05:46:17PM +0200, Andreas Schwab wrote:
> When configuring 2.6.0-test3 with CONFIG_SMP disabled and CONFIG_NUMA
> enabled I get undefined references to cpu_to_node_map and
> node_to_cpu_mask.  Both variables are defined in
> arch/ia64/kernel/smpboot.c, thus only available for SMP.

Surely we should make NUMA depend on SMP?  Or does someone have an
example of a NUMA single-processor box ;-)

-- 
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.0-test3: #undef SMP && #define NUMA does not compile
  2003-08-18 15:46 2.6.0-test3: #undef SMP && #define NUMA does not compile Andreas Schwab
  2003-08-18 16:00 ` Matthew Wilcox
@ 2003-08-18 16:05 ` Andreas Schwab
  2003-08-18 16:13 ` Matthew Wilcox
  2 siblings, 0 replies; 4+ messages in thread
From: Andreas Schwab @ 2003-08-18 16:05 UTC (permalink / raw)
  To: linux-ia64

Matthew Wilcox <willy@debian.org> writes:

|> On Mon, Aug 18, 2003 at 05:46:17PM +0200, Andreas Schwab wrote:
|> > When configuring 2.6.0-test3 with CONFIG_SMP disabled and CONFIG_NUMA
|> > enabled I get undefined references to cpu_to_node_map and
|> > node_to_cpu_mask.  Both variables are defined in
|> > arch/ia64/kernel/smpboot.c, thus only available for SMP.
|> 
|> Surely we should make NUMA depend on SMP?  Or does someone have an
|> example of a NUMA single-processor box ;-)

One might want to boot an UP kernel on a NUMA box, would that still work?

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.0-test3: #undef SMP && #define NUMA does not compile
  2003-08-18 15:46 2.6.0-test3: #undef SMP && #define NUMA does not compile Andreas Schwab
  2003-08-18 16:00 ` Matthew Wilcox
  2003-08-18 16:05 ` Andreas Schwab
@ 2003-08-18 16:13 ` Matthew Wilcox
  2 siblings, 0 replies; 4+ messages in thread
From: Matthew Wilcox @ 2003-08-18 16:13 UTC (permalink / raw)
  To: linux-ia64

On Mon, Aug 18, 2003 at 06:05:26PM +0200, Andreas Schwab wrote:
> Matthew Wilcox <willy@debian.org> writes:
> 
> |> On Mon, Aug 18, 2003 at 05:46:17PM +0200, Andreas Schwab wrote:
> |> > When configuring 2.6.0-test3 with CONFIG_SMP disabled and CONFIG_NUMA
> |> > enabled I get undefined references to cpu_to_node_map and
> |> > node_to_cpu_mask.  Both variables are defined in
> |> > arch/ia64/kernel/smpboot.c, thus only available for SMP.
> |> 
> |> Surely we should make NUMA depend on SMP?  Or does someone have an
> |> example of a NUMA single-processor box ;-)
> 
> One might want to boot an UP kernel on a NUMA box, would that still work?

I don't see why it shouldn't ... if it doesn't, I'd say that's a bug.

-- 
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-08-18 16:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-18 15:46 2.6.0-test3: #undef SMP && #define NUMA does not compile Andreas Schwab
2003-08-18 16:00 ` Matthew Wilcox
2003-08-18 16:05 ` Andreas Schwab
2003-08-18 16:13 ` Matthew Wilcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox