]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blob - arch/um/include/um_mmu.h
leds/acpi: Fix merge fallout from acpi_driver_data change
[linux-2.6-omap-h63xx.git] / arch / um / include / um_mmu.h
1 /* 
2  * Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
3  * Licensed under the GPL
4  */
5
6 #ifndef __ARCH_UM_MMU_H
7 #define __ARCH_UM_MMU_H
8
9 #include "uml-config.h"
10 #include "mm_id.h"
11 #include "asm/ldt.h"
12
13 typedef struct mm_context {
14         struct mm_id id;
15         struct uml_ldt ldt;
16         struct page **stub_pages;
17 } mm_context_t;
18
19 extern void __switch_mm(struct mm_id * mm_idp);
20
21 /* Avoid tangled inclusion with asm/ldt.h */
22 extern long init_new_ldt(struct mm_context *to_mm, struct mm_context *from_mm);
23 extern void free_ldt(struct mm_context *mm);
24
25 #endif