xref: /linux/arch/um/include/shared/skas/mm_id.h (revision da5b2ad1c2f18834cb1ce429e2e5a5cf5cbdf21b)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (C) 2005 Jeff Dike (jdike@karaya.com)
4  */
5 
6 #ifndef __MM_ID_H
7 #define __MM_ID_H
8 
9 struct mm_id {
10 	union {
11 		int mm_fd;
12 		int pid;
13 	} u;
14 	unsigned long stack;
15 	int syscall_data_len;
16 };
17 
18 void __switch_mm(struct mm_id *mm_idp);
19 
20 #endif
21