SUPERH platform development
 help / color / mirror / Atom feed
* [PATCH] sh: fix sh7724 compilation
@ 2012-05-25 14:24 Guennadi Liakhovetski
  2012-05-27 13:00 ` Paul Mundt
  0 siblings, 1 reply; 2+ messages in thread
From: Guennadi Liakhovetski @ 2012-05-25 14:24 UTC (permalink / raw)
  To: linux-sh

Fix compile breakage:

arch/sh/kernel/process.c: In function 'arch_dup_task_struct':
arch/sh/kernel/process.c:23: error: implicit declaration of function 'unlazy_fpu'

Presumably, other 32-bit FPU-enabled SuperH SoCs are affected too.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
---

This is for a 4-days old next, discard if already fixed.

diff --git a/arch/sh/kernel/process.c b/arch/sh/kernel/process.c
index 9b7a459..02a6f07 100644
--- a/arch/sh/kernel/process.c
+++ b/arch/sh/kernel/process.c
@@ -5,6 +5,8 @@
 #include <linux/export.h>
 #include <linux/stackprotector.h>
 
+#include <asm/fpu.h>
+
 struct kmem_cache *task_xstate_cachep = NULL;
 unsigned int xstate_size;
 

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

end of thread, other threads:[~2012-05-27 13:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-25 14:24 [PATCH] sh: fix sh7724 compilation Guennadi Liakhovetski
2012-05-27 13:00 ` Paul Mundt

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