mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-01 14:26:46 +07:00
d449c50367
The 3-level page table fixes forgot to remove a couple now-unused fields from struct mm_context. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
25 lines
533 B
C
25 lines
533 B
C
/*
|
|
* Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
|
|
* Licensed under the GPL
|
|
*/
|
|
|
|
#ifndef __ARCH_UM_MMU_H
|
|
#define __ARCH_UM_MMU_H
|
|
|
|
#include "uml-config.h"
|
|
#include "mm_id.h"
|
|
#include "asm/ldt.h"
|
|
|
|
typedef struct mm_context {
|
|
struct mm_id id;
|
|
struct uml_ldt ldt;
|
|
} 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
|