error: implicit declaration of function 'cpu_die'

Simon Richter Simon.Richter at hogyros.de
Tue Oct 11 02:49:11 EST 2005


Hi,

> arch/ppc/kernel/idle.c includes linux/smp.h, which includes asm-smp.h
> only if CONFIG_SMP is defined.
> As a result, cpu_die remains undefined for non-SMP builds.

I have used the attached patch for my tree[1], but this needs to be 
cross-checked with the other architectures.

    Simon

[1] where I merge the APUS stuff by Roman Zippel -- 
http://www.psi5.com/~geier/linux-2.6-apus.git
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cpu_die.diff
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20051010/50f9b547/attachment.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 307 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20051010/50f9b547/attachment.pgp>


More information about the Linuxppc-dev mailing list