Skip to content

Commit

Permalink
x86: put generic mm_hooks include into PARAVIRT
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Glauber de Oliveira Costa authored and Ingo Molnar committed Jan 30, 2008
1 parent b038783 commit 0466271
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/asm-x86/mmu_context_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit 0466271

Please sign in to comment.