Update to 3.4-final.
[linux-flexiantxendom0-3.2.10.git] / arch / x86 / kernel / syscall_32-xen.c
1 #include "syscall_32.c"
2
3 #include <linux/thread_info.h>
4
5 #ifdef TIF_CSTAR
6 extern asmlinkage void cstar_set_tif(void);
7
8 #define ptregs_fork cstar_set_tif
9 #define ptregs_clone cstar_set_tif
10 #define ptregs_vfork cstar_set_tif
11
12 const sys_call_ptr_t cstar_call_table[__NR_syscall_max+1] = {
13         /*
14          * Smells like a compiler bug -- it doesn't work
15          * when the & below is removed.
16          */
17         [0 ... __NR_syscall_max] = &sys_ni_syscall,
18 #include <asm/syscalls_32.h>
19 };
20 #endif /* TIF_CSTAR */