From: Glauber de Oliveira Costa Date: Wed, 30 Jan 2008 12:33:19 +0000 (+0100) Subject: x86: put generic mm_hooks include into PARAVIRT X-Git-Tag: v2.6.25-rc1~1143^2~243 X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;ds=sidebyside;h=046627130591993fd04acef9aebccf70fdad3702;p=~andy%2Flinux x86: put generic mm_hooks include into PARAVIRT With PARAVIRT, we actually have arch_{dup,exit}_mmap functions, so we can't include the generic header Signed-off-by: Glauber de Oliveira Costa Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/include/asm-x86/mmu_context_64.h b/include/asm-x86/mmu_context_64.h index 7e2aa23fccb..ad6dc821ef9 100644 --- a/include/asm-x86/mmu_context_64.h +++ b/include/asm-x86/mmu_context_64.h @@ -7,7 +7,9 @@ #include #include #include +#ifndef CONFIG_PARAVIRT #include +#endif /* * possibly do the LDT unload here?