[PATCH] celleb: fix CONFIG_KEXEC dependency

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu Feb 15 08:21:30 EST 2007


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 <kou.ishizaki at toshiba.co.jp>

Acked-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>

> ---
> 
> 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 at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev




More information about the Linuxppc-dev mailing list