Hi Tony,

On Tue, 22 Apr 2008 13:30:06 +1000 (EST) Tony Breeds <[EMAIL PROTECTED]> 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                    [EMAIL PROTECTED]
http://www.canb.auug.org.au/~sfr/

Attachment: pgp6Ty1Ge99HA.pgp
Description: PGP signature

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to