[PATCH 1/3] Raise the upper limit of NR_CPUS.
Stephen Rothwell
sfr at canb.auug.org.au
Tue Apr 22 13:50:05 EST 2008
Hi Tony,
On Tue, 22 Apr 2008 13:30:06 +1000 (EST) Tony Breeds <tony at bakeyournoodle.com> wrote:
>
> +void __init initialise_pacas(void)
> +{
> + int cpu;
> + unsigned long kernel_toc = (unsigned long)(&__toc_start) + 0x8000UL;
This line could do with a comment saying what it is doing ...
> +++ b/include/asm-powerpc/paca.h
>
> +#if NR_CPUS >= 32
> +#define NR_STATIC_PACAS 64
This allocates 64 pacas etc for NR_CPUS == 32 so surely that test should
be >?
--
Cheers,
Stephen Rothwell sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20080422/44305ab5/attachment.pgp>
More information about the Linuxppc-dev
mailing list