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-Tag: v2.6.27-rc1~1112^2~35 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=9789db08c020193ae18826c3aa48bd24296f7848;p=linux-2.6-omap-h63xx.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 bd0ea191dfa..0bdb704ae05 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