-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 99910 b: refs/heads/master c: c3c2fee h: refs/heads/master v: v3
- Loading branch information
Jeremy Fitzhardinge
authored and
Ingo Molnar
committed
Jul 8, 2008
1 parent
a69fddf
commit d51242a
Showing
4 changed files
with
33 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: fb15a9b3047a245a30a51696e4d8e29b1175a598 | ||
refs/heads/master: c3c2fee38462fa34b90e0a5427c7fc564bb5c96c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,37 @@ | ||
#ifndef __ASM_X86_MMU_CONTEXT_H | ||
#define __ASM_X86_MMU_CONTEXT_H | ||
|
||
#include <asm/desc.h> | ||
#include <asm/atomic.h> | ||
#include <asm/pgalloc.h> | ||
#include <asm/tlbflush.h> | ||
#include <asm/paravirt.h> | ||
#ifndef CONFIG_PARAVIRT | ||
#include <asm-generic/mm_hooks.h> | ||
|
||
static inline void paravirt_activate_mm(struct mm_struct *prev, | ||
struct mm_struct *next) | ||
{ | ||
} | ||
#endif /* !CONFIG_PARAVIRT */ | ||
|
||
/* | ||
* Used for LDT copy/destruction. | ||
*/ | ||
int init_new_context(struct task_struct *tsk, struct mm_struct *mm); | ||
void destroy_context(struct mm_struct *mm); | ||
|
||
#ifdef CONFIG_X86_32 | ||
# include "mmu_context_32.h" | ||
#else | ||
# include "mmu_context_64.h" | ||
#endif | ||
|
||
#define activate_mm(prev, next) \ | ||
do { \ | ||
paravirt_activate_mm((prev), (next)); \ | ||
switch_mm((prev), (next), NULL); \ | ||
} while (0); | ||
|
||
|
||
#endif /* __ASM_X86_MMU_CONTEXT_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters