[PATCH 2.6.14] ppc32: Fix CONFIG_PRINTK=n building

Paul Mackerras paulus at samba.org
Wed Nov 9 11:56:42 EST 2005


Tom Rini writes:

> The following patch is needed to allow PRINTK=n to work on ppc32.
> 
> Direct calls to printk from asm files can't be magically removed so we
> have to do it manually.

Nak.  We are using arch/powerpc/kernel/fpu.S now (even for ARCH=ppc)
and it doesn't do the printk in assembler.

In general I'd prefer to move the printk calls to C code rather than
adding these ifdefs.

Paul.



More information about the Linuxppc-dev mailing list