Re: 2.6.18-rc1-mm1 fails on amd64 (smp_call_function_single)

From: Andrew Morton
Date: Sun Jul 09 2006 - 17:01:48 EST


On Sun, 9 Jul 2006 22:39:48 +0200
"Rafael J. Wysocki" <rjw@xxxxxxx> wrote:

> On Sunday 09 July 2006 13:49, Gregoire Favre wrote:
> > Hello,
> >
> > can't compil it :
> >
> > CHK include/linux/compile.h
> > UPD include/linux/compile.h
> > CC init/version.o
> > LD init/built-in.o
> > LD .tmp_vmlinux1
> > arch/x86_64/kernel/built-in.o: In function `vsyscall_set_cpu':
> > (.init.text+0x1e87): undefined reference to `smp_call_function_single'
> > make: *** [.tmp_vmlinux1] Error 1
>
> This is because of x86_64-mm-getcpu-vsyscall.patch which breaks
> compilation without SMP and is not obviously fixable.

Is it not as simple as adding a !SMP implementation of
smp_call_function_single(), which just calls the thing?

> I think you can safely revert it.

That works, too.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/