x86-32, mm: Rip out x86_32 NUMA remapping code
[linux-2.6/btrfs-unstable.git] / include / asm-generic / syscalls.h
blob1db51b8524e9fb86fcc71e797f95a6518c259bfc
1 #ifndef __ASM_GENERIC_SYSCALLS_H
2 #define __ASM_GENERIC_SYSCALLS_H
4 #include <linux/compiler.h>
5 #include <linux/linkage.h>
7 /*
8 * Calling conventions for these system calls can differ, so
9 * it's possible to override them.
12 #ifndef sys_mmap2
13 asmlinkage long sys_mmap2(unsigned long addr, unsigned long len,
14 unsigned long prot, unsigned long flags,
15 unsigned long fd, unsigned long pgoff);
16 #endif
18 #ifndef sys_mmap
19 asmlinkage long sys_mmap(unsigned long addr, unsigned long len,
20 unsigned long prot, unsigned long flags,
21 unsigned long fd, off_t pgoff);
22 #endif
24 #ifndef CONFIG_GENERIC_SIGALTSTACK
25 #ifndef sys_sigaltstack
26 asmlinkage long sys_sigaltstack(const stack_t __user *, stack_t __user *,
27 struct pt_regs *);
28 #endif
29 #endif
31 #ifndef sys_rt_sigreturn
32 asmlinkage long sys_rt_sigreturn(struct pt_regs *regs);
33 #endif
35 #ifndef sys_rt_sigsuspend
36 asmlinkage long sys_rt_sigsuspend(sigset_t __user *unewset, size_t sigsetsize);
37 #endif
39 #ifndef sys_rt_sigaction
40 asmlinkage long sys_rt_sigaction(int sig, const struct sigaction __user *act,
41 struct sigaction __user *oact, size_t sigsetsize);
42 #endif
44 #endif /* __ASM_GENERIC_SYSCALLS_H */