From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <17265.18762.905673.466214@cargo.ozlabs.ibm.com> Date: Wed, 9 Nov 2005 11:56:42 +1100 From: Paul Mackerras To: Tom Rini In-Reply-To: <20051108223631.GR3839@smtp.west.cox.net> References: <20051108223631.GR3839@smtp.west.cox.net> Cc: Andrew Morton , Kumar Gala , Matt Mackall , linuxppc-dev@ozlabs.org Subject: Re: [PATCH 2.6.14] ppc32: Fix CONFIG_PRINTK=n building List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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.