summaryrefslogtreecommitdiff
path: root/arch/um/include/shared/skas/mm_id.h
blob: 1e76ba40febadf8dd216fb88327deb5c605fb67d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* 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 syscall_data_len;
};

void __switch_mm(struct mm_id *mm_idp);

#endif