Linux 3.11-rc3
[cris-mirror.git] / arch / sparc / kernel / systbls.h
blob26e6dd72e92af083f78401b104b9ea0a0b432f50
1 #ifndef _SYSTBLS_H
2 #define _SYSTBLS_H
4 #include <linux/kernel.h>
5 #include <linux/types.h>
6 #include <linux/signal.h>
7 #include <asm/utrap.h>
9 extern asmlinkage unsigned long sys_getpagesize(void);
10 extern asmlinkage long sparc_pipe(struct pt_regs *regs);
11 extern asmlinkage long sys_sparc_ipc(unsigned int call, int first,
12 unsigned long second,
13 unsigned long third,
14 void __user *ptr, long fifth);
15 extern asmlinkage long sparc64_personality(unsigned long personality);
16 extern asmlinkage long sys64_munmap(unsigned long addr, size_t len);
17 extern asmlinkage unsigned long sys64_mremap(unsigned long addr,
18 unsigned long old_len,
19 unsigned long new_len,
20 unsigned long flags,
21 unsigned long new_addr);
22 extern asmlinkage unsigned long c_sys_nis_syscall(struct pt_regs *regs);
23 extern asmlinkage long sys_getdomainname(char __user *name, int len);
24 extern asmlinkage long sys_utrap_install(utrap_entry_t type,
25 utrap_handler_t new_p,
26 utrap_handler_t new_d,
27 utrap_handler_t __user *old_p,
28 utrap_handler_t __user *old_d);
29 extern asmlinkage long sparc_memory_ordering(unsigned long model,
30 struct pt_regs *regs);
31 extern asmlinkage long sys_rt_sigaction(int sig,
32 const struct sigaction __user *act,
33 struct sigaction __user *oact,
34 void __user *restorer,
35 size_t sigsetsize);
37 extern asmlinkage void sparc64_set_context(struct pt_regs *regs);
38 extern asmlinkage void sparc64_get_context(struct pt_regs *regs);
39 extern void do_rt_sigreturn(struct pt_regs *regs);
41 #endif /* _SYSTBLS_H */