From: Heiko Carstens Date: Mon, 14 Jul 2008 07:59:11 +0000 (+0200) Subject: [S390] Add sched.h include to asm-s390/pgtable.h. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9789db08c020193ae18826c3aa48bd24296f7848;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [S390] Add sched.h include to asm-s390/pgtable.h. Some macros in pgtable.h access members from struct task_struct. Currently always works since sched.h seems always to be included before asm/pgtable.h. Unfortunately that is not anymore true with Jeremy Fitzhardinge's ptep_modify_prot transaction abstraction patch. So fix this. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- diff --git a/include/asm-s390/pgtable.h b/include/asm-s390/pgtable.h index bd0ea191dfa9..0bdb704ae051 100644 --- a/include/asm-s390/pgtable.h +++ b/include/asm-s390/pgtable.h @@ -29,6 +29,7 @@ * the S390 page table tree. */ #ifndef __ASSEMBLY__ +#include #include #include #include