All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] celleb: fix CONFIG_KEXEC dependency
@ 2007-02-14  6:55 Ishizaki Kou
  2007-02-14 21:21 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 2+ messages in thread
From: Ishizaki Kou @ 2007-02-14  6:55 UTC (permalink / raw)
  To: paulus; +Cc: linuxppc-dev

celleb_kexec_cpu_down() depends on CONFIG_KEXEC.

Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp>
---

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", },

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] celleb: fix CONFIG_KEXEC dependency
  2007-02-14  6:55 [PATCH] celleb: fix CONFIG_KEXEC dependency Ishizaki Kou
@ 2007-02-14 21:21 ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Herrenschmidt @ 2007-02-14 21:21 UTC (permalink / raw)
  To: Ishizaki Kou; +Cc: linuxppc-dev, paulus

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@toshiba.co.jp>

Acked-by: Benjamin Herrenschmidt <benh@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@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-14 21:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-14  6:55 [PATCH] celleb: fix CONFIG_KEXEC dependency Ishizaki Kou
2007-02-14 21:21 ` Benjamin Herrenschmidt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.