lkml.org 
[lkml]   [2008]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH 00 of 31] x86: unification and xen updates
Ingo Molnar wrote:
> * Jeremy Fitzhardinge <jeremy@goop.org> wrote:
>
>
>>> i've uninlined it and has trickled that through your series.
>>>
>> I build 32-bit PAE all the time. I guess the difference is your build
>> is !PARAVIRT?
>>
>
> yes, randconfig triggered it rather quickly. Bad config attached. (it
> now builds fine)
>
> Ingo
>

This patch applied on top of everything else is sufficient to fix the
problem for me:

Subject: x86: fix build problem in pud_populate without CONFIG_PARAVIRT

asm/paravirt.h ends up including linux/sched.h, which pud_populate needs
for its reference to current. Specifically include linux/sched.h for it.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
---
include/asm-x86/pgalloc.h | 1 +
1 file changed, 1 insertion(+)

===================================================================
--- a/include/asm-x86/pgalloc.h
+++ b/include/asm-x86/pgalloc.h
@@ -4,6 +4,7 @@
#include <linux/threads.h>
#include <linux/mm.h> /* for struct page */
#include <linux/pagemap.h>
+#include <linux/sched.h>

#ifdef CONFIG_PARAVIRT
#include <asm/paravirt.h>


\
 
 \ /
  Last update: 2008-03-19 23:49    [W:0.234 / U:1.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site