From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from imap.sh.mvista.com (unknown [63.81.120.155]) by ozlabs.org (Postfix) with ESMTP id 3623767B76 for ; Sat, 19 Aug 2006 05:32:33 +1000 (EST) Message-ID: <44E61612.6070405@ru.mvista.com> Date: Fri, 18 Aug 2006 23:33:38 +0400 From: Sergei Shtylyov MIME-Version: 1.0 To: Andy Fleming Subject: Re: [PATCH] Fix IRQ handling on MPC8540 ADS References: <44E608F3.4060505@ru.mvista.com> In-Reply-To: <44E608F3.4060505@ru.mvista.com> Content-Type: text/plain; charset=us-ascii; format=flowed Cc: linuxppc-dev@ozlabs.org, Paul Mackerras List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hello. Sergei Shtylyov wrote: >>* Fixed IRQ handling for the 85xx ADS boards so it uses the new >> generic irq stuff >>* Fixed PCI IRQ mapping so it comes from the device tree > NAK. The kernel doesn't build with this patch. I'm getting this: > CC arch/powerpc/platforms/85xx/mpc85xx_ads.o > arch/powerpc/platforms/85xx/mpc85xx_ads.c: In function `mpc85xx_ads_pic_init': > arch/powerpc/platforms/85xx/mpc85xx_ads.c:76: warning: implicit declaration of > function `of_put_node' > and then finally: > LD .tmp_vmlinux1 > arch/powerpc/platforms/built-in.o(.init.text+0x26c): In function > `mpc85xx_ads_pic_init': > arch/powerpc/platforms/85xx/mpc85xx_ads.c:84: undefined reference to `of_put_node' > arch/powerpc/platforms/built-in.o(.init.text+0x404):arch/powerpc/platforms/85xx/mpc85xx_ads.c:76: > undefined reference to `of_put_node' > make: *** [.tmp_vmlinux1] Error 1 > > There's no such function in the kernel -- it actually aclled > of_node_put(). I can post an updated patch after testing (if it succeeds) if > you like... Alas, the patched kernel didn't boot further than the early startup messages (after I've updated U-Boot with the correct PIC device type). >>This patch *really* needs to go in before 2.6.18 is final, else 2.6.18 >>doesn't build for 85xx. > Looks like it's a bit crude yet to be committed... Not even compile tested. :-/ WBR, Sergei