diff options
author | Manuel Lauss <mano@roarinelk.homelinux.net> | 2007-05-31 06:44:55 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-05-31 06:44:55 +0200 |
commit | f75522cea12fe1ed9336c1a02b170bd06383e8a3 (patch) | |
tree | 18dbddd8c763044c3aa9498725964f4d7a25cc15 /arch/sh | |
parent | sh: Trivial fix for dma-api compile failure. (diff) | |
download | linux-f75522cea12fe1ed9336c1a02b170bd06383e8a3.tar.xz linux-f75522cea12fe1ed9336c1a02b170bd06383e8a3.zip |
sh: Fix vsyscall build failure.
CC arch/sh/kernel/vsyscall/vsyscall.o
a/arch/sh/kernel/vsyscall/vsyscall.c: In function 'arch_setup_additional_pages':
a/arch/sh/kernel/vsyscall/vsyscall.c:63: error: dereferencing pointer to incomplete type
a/arch/sh/kernel/vsyscall/vsyscall.c:67: error: dereferencing pointer to incomplete type
a/arch/sh/kernel/vsyscall/vsyscall.c:82: error: dereferencing pointer to incomplete type
a/arch/sh/kernel/vsyscall/vsyscall.c:85: error: dereferencing pointer to incomplete type
a/arch/sh/kernel/vsyscall/vsyscall.c: In function 'arch_vma_name':
a/arch/sh/kernel/vsyscall/vsyscall.c:91: error: dereferencing pointer to incomplete type
Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/kernel/vsyscall/vsyscall.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/kernel/vsyscall/vsyscall.c b/arch/sh/kernel/vsyscall/vsyscall.c index e146bafcd14f..2aa9438361bc 100644 --- a/arch/sh/kernel/vsyscall/vsyscall.c +++ b/arch/sh/kernel/vsyscall/vsyscall.c @@ -17,6 +17,7 @@ #include <linux/gfp.h> #include <linux/module.h> #include <linux/elf.h> +#include <linux/sched.h> /* * Should the kernel map a VDSO page into processes and pass its |