From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 8E091DDE30 for ; Thu, 15 Feb 2007 08:21:37 +1100 (EST) Subject: Re: [PATCH] celleb: fix CONFIG_KEXEC dependency From: Benjamin Herrenschmidt To: Ishizaki Kou In-Reply-To: <200702140655.l1E6tFlp005523@toshiba.co.jp> References: <200702140655.l1E6tFlp005523@toshiba.co.jp> Content-Type: text/plain Date: Thu, 15 Feb 2007 08:21:30 +1100 Message-Id: <1171488090.20192.165.camel@localhost.localdomain> Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org, paulus@samba.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2007-02-14 at 15:55 +0900, Ishizaki Kou wrote: > celleb_kexec_cpu_down() depends on CONFIG_KEXEC. > > Signed-off-by: Kou Ishizaki Acked-by: Benjamin Herrenschmidt > --- > > Index: linux-powerpc-git/arch/powerpc/platforms/celleb/setup.c > diff -u linux-powerpc-git/arch/powerpc/platforms/celleb/setup.c:1.1.1.1 linux-powerpc-git/arch/powerpc/platforms/celleb/setup.c:1.23 > --- linux-powerpc-git/arch/powerpc/platforms/celleb/setup.c:1.1.1.1 Thu Feb 8 11:38:20 2007 > +++ linux-powerpc-git/arch/powerpc/platforms/celleb/setup.c Fri Feb 9 18:31:50 2007 > @@ -137,10 +137,12 @@ > return -ENODEV; > } > > +#ifdef CONFIG_KEXEC > static void celleb_kexec_cpu_down(int crash, int secondary) > { > beatic_deinit_IRQ(); > } > +#endif > > static struct of_device_id celleb_bus_ids[] = { > { .type = "scc", }, > _______________________________________________ > Linuxppc-dev mailing list > Linuxppc-dev@ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-dev