summaryrefslogtreecommitdiff
path: root/arch/um/include/shared/skas/mm_id.h
blob: 4c5311abe42cb0a6605476cd58b1d5a3063d7dee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (C) 2005 Jeff Dike (jdike@karaya.com)
 */

#ifndef __MM_ID_H
#define __MM_ID_H

struct mm_id {
	union {
		int mm_fd;
		int pid;
	} u;
	unsigned long stack;
	int kill;
	int syscall_data_len;
};

void __switch_mm(struct mm_id *mm_idp);

#endif