Re: [patch 03/10] percpu: Make the asm-generic/percpu.h more "generic"

Christoph Lameter
2007-11-30T19:01:20Z

On Fri, 30 Nov 2007, Ingo Molnar wrote:

> i have lockdep off. config attached.

The .config does not compile under mm. Could you verify that the first
patchset applies (this one) and works fine before we get to to the
patchset that deals with relocating the percpu addresses?

Seems that there are some other funky features on:

CONFIG_PHYSICAL_START=0x100000
CONFIG_RELOCATABLE=y
CONFIG_PHYSICAL_ALIGN=0x200000

I gotta see how much of that is available under mm and how it interacts
with the relocation of the percpu area.

christoph@stapp:~/linux-2.6.24-rc3-mm2$ make -j9 all
scripts/kconfig/conf -s arch/x86/Kconfig
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CC scripts/mod/empty.o
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
CC arch/x86/kernel/asm-offsets.s
In file included from include/asm/page.h:5,
from include/asm/processor_64.h:9,
from include/asm/processor.h:4,
from include/linux/prefetch.h:14,
from include/linux/list.h:8,
from include/linux/module.h:9,
from include/linux/crypto.h:21,
from arch/x86/kernel/asm-offsets_64.c:7,
from arch/x86/kernel/asm-offsets.c:4:
include/asm/page_64.h:97:2: error: #error "CONFIG_PHYSICAL_START must be a
multiple of 2MB"
HOSTLD scripts/mod/modpost
make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1