lkml.org 
[lkml]   [2002]   [Apr]   [10]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
From"Ivan G." <>
Subject2.5.8-pre3 breaks init, compile problem
DateWed, 10 Apr 2002 00:43:45 -0600
init/main.o: In function `start_kernel':
init/main.o(.text.init+0x622): undefined reference to `setup_per_cpu_areas'
make: *** [vmlinux] Error 1

Reason?

Patch alters main.c to:

#ifndef CONFIG_SMP
...do some stuff (not including setup_per_cpu_areas)
#else

	#ifdef __GENERIC_PER_CPU
		define    setup_per_cpu_areas that does something
	#else
		define 	 setup_per_cpu_areas that doesn't do anything
	#endif
#endif

setup_per_cpu_areas(); in start_kernel is called and comes out undefined for 
my single processor - Athlon XP 1600+ 

-
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:25    [from the cache]
©2003-2008