xref: /openbmc/linux/arch/um/include/shared/skas/mm_id.h (revision 59e34e39)
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 kill;
16 };
17 
18 void __switch_mm(struct mm_id *mm_idp);
19 
20 #endif
21