Linux Audio

Check our new training course

Loading...
v6.8
 1/* SPDX-License-Identifier: GPL-2.0 */
 2/* 
 3 * Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
 4 */
 5
 6#ifndef __ARCH_UM_MMU_H
 7#define __ARCH_UM_MMU_H
 8
 9#include <mm_id.h>
10#include <asm/mm_context.h>
11
12typedef struct mm_context {
13	struct mm_id id;
14	struct uml_arch_mm_context arch;
15} mm_context_t;
16
17extern void __switch_mm(struct mm_id * mm_idp);
18
19/* Avoid tangled inclusion with asm/ldt.h */
20extern long init_new_ldt(struct mm_context *to_mm, struct mm_context *from_mm);
21extern void free_ldt(struct mm_context *mm);
 
22
23#endif
v6.13.7
 1/* SPDX-License-Identifier: GPL-2.0 */
 2/* 
 3 * Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
 4 */
 5
 6#ifndef __ARCH_UM_MMU_H
 7#define __ARCH_UM_MMU_H
 8
 9#include <mm_id.h>
 
10
11typedef struct mm_context {
12	struct mm_id id;
 
 
 
 
13
14	/* Address range in need of a TLB sync */
15	unsigned long sync_tlb_range_from;
16	unsigned long sync_tlb_range_to;
17} mm_context_t;
18
19#endif