]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/um/include/shared/um_mmu.h
x86, um: get rid of excessive includes of uml-config.h
[mirror_ubuntu-bionic-kernel.git] / arch / um / include / shared / um_mmu.h
CommitLineData
1da177e4 1/*
ae2587e4 2 * Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
1da177e4
LT
3 * Licensed under the GPL
4 */
5
6#ifndef __ARCH_UM_MMU_H
7#define __ARCH_UM_MMU_H
8
6c738ffa 9#include "mm_id.h"
efb21cc2 10#include "ldt.h"
1da177e4 11
6c738ffa
JD
12typedef struct mm_context {
13 struct mm_id id;
6c738ffa 14 struct uml_ldt ldt;
ac2a6599 15 struct page **stub_pages;
1da177e4
LT
16} mm_context_t;
17
6c738ffa
JD
18extern void __switch_mm(struct mm_id * mm_idp);
19
20/* Avoid tangled inclusion with asm/ldt.h */
21extern long init_new_ldt(struct mm_context *to_mm, struct mm_context *from_mm);
22extern void free_ldt(struct mm_context *mm);
23
1da177e4 24#endif