소스 검색

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>
Manuel Lauss 18 년 전
부모
커밋
f75522cea1
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      arch/sh/kernel/vsyscall/vsyscall.c

+ 1 - 0
arch/sh/kernel/vsyscall/vsyscall.c

@@ -17,6 +17,7 @@
 #include <linux/gfp.h>
 #include <linux/gfp.h>
 #include <linux/module.h>
 #include <linux/module.h>
 #include <linux/elf.h>
 #include <linux/elf.h>
+#include <linux/sched.h>
 
 
 /*
 /*
  * Should the kernel map a VDSO page into processes and pass its
  * Should the kernel map a VDSO page into processes and pass its