From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758116AbYDBSgF (ORCPT ); Wed, 2 Apr 2008 14:36:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755501AbYDBSfd (ORCPT ); Wed, 2 Apr 2008 14:35:33 -0400 Received: from 21.sub-75-208-3.myvzw.com ([75.208.3.21]:38398 "EHLO mail.goop.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755032AbYDBSfc (ORCPT ); Wed, 2 Apr 2008 14:35:32 -0400 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [PATCH 19 of 24] x86: fix build problem in pud_populate without CONFIG_PARAVIRT X-Mercurial-Node: 6490118c8c89b9cbd410bc35bdc92e87477f8ada Message-Id: <6490118c8c89b9cbd410.1207158848@localhost> In-Reply-To: Date: Wed, 02 Apr 2008 10:54:08 -0700 From: Jeremy Fitzhardinge To: Ingo Molnar Cc: LKML , Isaku Yamahata Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. In file included from /home/jeremy/hg/xen/paravirt/linux/arch/x86/mm/pgtable.c:3: include2/asm/pgalloc.h: In function ‘pud_populate’: include2/asm/pgalloc.h:93: error: dereferencing pointer to incomplete type make[3]: *** [arch/x86/mm/pgtable.o] Error 1 make[2]: *** [arch/x86/mm/] Error 2 make[1]: *** [sub-make] Error 2 make: *** [all] Error 2 Signed-off-by: Jeremy Fitzhardinge --- include/asm-x86/pgalloc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/asm-x86/pgalloc.h b/include/asm-x86/pgalloc.h --- a/include/asm-x86/pgalloc.h +++ b/include/asm-x86/pgalloc.h @@ -4,6 +4,7 @@ #include #include /* for struct page */ #include +#include #ifdef CONFIG_PARAVIRT #include