Skip to content

Commit

Permalink
sh: arch/sh/kernel/process.c needs asm/fpu.h for unlazy_fpu().
Browse files Browse the repository at this point in the history
Linus tried to fix up sh fallout from the x86 fpu state cleanup merge and
failed. Add the missing include to get it building again.

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

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed May 24, 2012
1 parent f936991 commit 936c163
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/sh/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <linux/sched.h>
#include <linux/export.h>
#include <linux/stackprotector.h>
#include <asm/fpu.h>

struct kmem_cache *task_xstate_cachep = NULL;
unsigned int xstate_size;
Expand Down

0 comments on commit 936c163

Please sign in to comment.