public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: kirkwood: add missing kexec.h include
@ 2012-04-29 13:40 Ian Campbell
  2012-04-30 14:21 ` Arnd Bergmann
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Campbell @ 2012-04-29 13:40 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: linux-kernel, Russell King, Jason Cooper, Arnd Bergmann,
	Sergei Shtylyov, Ian Campbell

Fixes the following build error when CONFIG_KEXEC is enabled:
  CC      arch/arm/mach-kirkwood/board-dt.o
arch/arm/mach-kirkwood/board-dt.c: In function 'kirkwood_dt_init':
arch/arm/mach-kirkwood/board-dt.c:52:2: error: 'kexec_reinit' undeclared (first use in this function)
arch/arm/mach-kirkwood/board-dt.c:52:2: note: each undeclared identifier is reported only once for each function it appears in

Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
[v4, rebase onto recent Linus for repost]
[v3, speak actual English in the commit message, thanks Sergei Shtylyov]
[v2, using linux/kexec.h not asm/kexec.h]
---
 arch/arm/mach-kirkwood/board-dt.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-kirkwood/board-dt.c b/arch/arm/mach-kirkwood/board-dt.c
index 1c672d9..f7fe1b9 100644
--- a/arch/arm/mach-kirkwood/board-dt.c
+++ b/arch/arm/mach-kirkwood/board-dt.c
@@ -14,6 +14,7 @@
 #include <linux/init.h>
 #include <linux/of.h>
 #include <linux/of_platform.h>
+#include <linux/kexec.h>
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
 #include <mach/bridge-regs.h>
-- 
1.7.10


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

* Re: [PATCH] ARM: kirkwood: add missing kexec.h include
  2012-04-29 13:40 [PATCH] ARM: kirkwood: add missing kexec.h include Ian Campbell
@ 2012-04-30 14:21 ` Arnd Bergmann
  2012-05-08 18:20   ` Jason Cooper
  0 siblings, 1 reply; 3+ messages in thread
From: Arnd Bergmann @ 2012-04-30 14:21 UTC (permalink / raw)
  To: Ian Campbell
  Cc: linux-arm-kernel, linux-kernel, Russell King, Jason Cooper,
	Sergei Shtylyov

On Sunday 29 April 2012, Ian Campbell wrote:
> 
> Fixes the following build error when CONFIG_KEXEC is enabled:
>   CC      arch/arm/mach-kirkwood/board-dt.o
> arch/arm/mach-kirkwood/board-dt.c: In function 'kirkwood_dt_init':
> arch/arm/mach-kirkwood/board-dt.c:52:2: error: 'kexec_reinit' undeclared (first use in this function)
> arch/arm/mach-kirkwood/board-dt.c:52:2: note: each undeclared identifier is reported only once for each function it appears in
> 
> Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
> [v4, rebase onto recent Linus for repost]
> [v3, speak actual English in the commit message, thanks Sergei Shtylyov]
> [v2, using linux/kexec.h not asm/kexec.h]

Acked-by: Arnd Bergmann <arnd@arndb.de>

Jason, can you apply this patch on your tree?

	Arnd

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

* Re: [PATCH] ARM: kirkwood: add missing kexec.h include
  2012-04-30 14:21 ` Arnd Bergmann
@ 2012-05-08 18:20   ` Jason Cooper
  0 siblings, 0 replies; 3+ messages in thread
From: Jason Cooper @ 2012-05-08 18:20 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Ian Campbell, Sergei Shtylyov, Russell King, linux-kernel,
	linux-arm-kernel

On Mon, Apr 30, 2012 at 02:21:45PM +0000, Arnd Bergmann wrote:
> On Sunday 29 April 2012, Ian Campbell wrote:
> > 
> > Fixes the following build error when CONFIG_KEXEC is enabled:
> >   CC      arch/arm/mach-kirkwood/board-dt.o
> > arch/arm/mach-kirkwood/board-dt.c: In function 'kirkwood_dt_init':
> > arch/arm/mach-kirkwood/board-dt.c:52:2: error: 'kexec_reinit' undeclared (first use in this function)
> > arch/arm/mach-kirkwood/board-dt.c:52:2: note: each undeclared identifier is reported only once for each function it appears in
> > 
> > Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
> > [v4, rebase onto recent Linus for repost]
> > [v3, speak actual English in the commit message, thanks Sergei Shtylyov]
> > [v2, using linux/kexec.h not asm/kexec.h]
> 
> Acked-by: Arnd Bergmann <arnd@arndb.de>
> 
> Jason, can you apply this patch on your tree?

Got it, putting together a branch for v3.4 fixes now.

thx,

Jason.

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

end of thread, other threads:[~2012-05-08 18:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-29 13:40 [PATCH] ARM: kirkwood: add missing kexec.h include Ian Campbell
2012-04-30 14:21 ` Arnd Bergmann
2012-05-08 18:20   ` Jason Cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox