summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/mmu_context_64.h
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa <gcosta@redhat.com>2008-01-30 13:33:19 +0100
committerIngo Molnar <mingo@elte.hu>2008-01-30 13:33:19 +0100
commit046627130591993fd04acef9aebccf70fdad3702 (patch)
treef51927218aeef62d16b5d030d8b7066716dbbf25 /include/asm-x86/mmu_context_64.h
parentb03878307a78ba0248f6f8d24279c846f1a26f6e (diff)
downloadblackbird-op-linux-046627130591993fd04acef9aebccf70fdad3702.tar.gz
blackbird-op-linux-046627130591993fd04acef9aebccf70fdad3702.zip
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>
Diffstat (limited to 'include/asm-x86/mmu_context_64.h')
-rw-r--r--include/asm-x86/mmu_context_64.h2
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 7e2aa23fccbf..ad6dc821ef9e 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?
OpenPOWER on IntegriCloud