-
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.
um: take um_mmu.h to asm/mmu.h, clean asm/mmu_context.h a bit
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Richard Weinberger <richard@nod.at>
- Loading branch information
Al Viro
authored and
Richard Weinberger
committed
Nov 2, 2011
1 parent
548fd1e
commit 4dc706c
Showing
3 changed files
with
19 additions
and
34 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,12 +1,24 @@ | ||
/* | ||
* Copyright (C) 2002 Jeff Dike (jdike@karaya.com) | ||
* Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) | ||
* Licensed under the GPL | ||
*/ | ||
|
||
#ifndef __MMU_H | ||
#define __MMU_H | ||
#ifndef __ARCH_UM_MMU_H | ||
#define __ARCH_UM_MMU_H | ||
|
||
#include "um_mmu.h" | ||
#include "mm_id.h" | ||
#include "ldt.h" | ||
|
||
#endif | ||
typedef struct mm_context { | ||
struct mm_id id; | ||
struct uml_ldt ldt; | ||
struct page **stub_pages; | ||
} mm_context_t; | ||
|
||
extern void __switch_mm(struct mm_id * mm_idp); | ||
|
||
/* Avoid tangled inclusion with asm/ldt.h */ | ||
extern long init_new_ldt(struct mm_context *to_mm, struct mm_context *from_mm); | ||
extern void free_ldt(struct mm_context *mm); | ||
|
||
#endif |
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 was deleted.
Oops, something went wrong.