[PATCH] uml: skas0 - separate kernel address space on stock hosts
[linux-2.6] / arch / um / include / sysdep-i386 / stub.h
1 /*
2  * Copyright (C) 2004 Jeff Dike (jdike@addtoit.com)
3  * Licensed under the GPL
4  */
5
6 #ifndef __SYSDEP_STUB_H
7 #define __SYSDEP_STUB_H
8
9 #include <asm/ptrace.h>
10 #include <asm/unistd.h>
11
12 extern void stub_segv_handler(int sig);
13
14 #define STUB_SYSCALL_RET EAX
15 #define STUB_MMAP_NR __NR_mmap2
16 #define MMAP_OFFSET(o) ((o) >> PAGE_SHIFT)
17
18 #endif