linux/init
H. Peter Anvin e8fc96ed36 dyn_array: don't break compiling for !CONFIG_SMP
Impact: build failure on uniprocessor

When compiling for !CONFIG_SMP, per_cpu_alloc_dyn_array() would fail
to compile, since it uses per_cpu_offset, which is not defined for
uniprocessor builds.

Hence, do not compile per_cpu_alloc_dyn_array() for !CONFIG_SMP.
Attempting to call this function in a uniprocessor configuration would
be simply wrong in the first place.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2008-10-16 16:53:05 +02:00
..
calibrate.c x86: remove stray <6> in BogoMIPS printk 2008-07-28 14:22:26 +02:00
do_mounts.c init: DEBUG_BLOCK_EXT_DEVT requires explicit root= param 2008-10-09 08:56:11 +02:00
do_mounts.h make init/do_mounts.c:root_device_name static 2008-07-26 12:00:12 -07:00
do_mounts_initrd.c Freezer: Fix s2disk resume from initrd 2007-11-20 22:22:42 -05:00
do_mounts_md.c raid: make RAID autodetect default a KConfig option 2008-10-12 08:25:02 -07:00
do_mounts_rd.c inflate: refactor inflate malloc code 2008-07-25 10:53:28 -07:00
dyn_array.c dyn_array: don't break compiling for !CONFIG_SMP 2008-10-16 16:53:05 +02:00
initramfs.c inflate: refactor inflate malloc code 2008-07-25 10:53:28 -07:00
Kconfig proc: move PROC_PAGE_MONITOR to fs/proc/Kconfig 2008-10-10 04:18:57 +04:00
main.c dyn_array: split dyn_array functions from init/main.c 2008-10-16 16:52:58 +02:00
Makefile dyn_array: split dyn_array functions from init/main.c 2008-10-16 16:52:58 +02:00
noinitramfs.c [PATCH] disable init/initramfs.c 2007-02-11 10:51:25 -08:00
version.c init/version.c: define version_string only if CONFIG_KALLSYMS is not defined 2008-07-25 10:53:29 -07:00