diff options
author | Glauber de Oliveira Costa <gcosta@redhat.com> | 2008-01-30 13:33:19 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 13:33:19 +0100 |
commit | 046627130591993fd04acef9aebccf70fdad3702 (patch) | |
tree | f51927218aeef62d16b5d030d8b7066716dbbf25 | |
parent | b03878307a78ba0248f6f8d24279c846f1a26f6e (diff) |
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 <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | include/asm-x86/mmu_context_64.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 <asm/pda.h> #include <asm/pgtable.h> #include <asm/tlbflush.h> +#ifndef CONFIG_PARAVIRT #include <asm-generic/mm_hooks.h> +#endif /* * possibly do the LDT unload here? |