MIPS: SB1250: Include correct header and fix a warning
[linux-2.6/linux-mips.git] / arch / sparc / kernel / systbls.h
blob118759cd7342d0549389cc43a1d78ac261fc879b
1 #ifndef _SYSTBLS_H
2 #define _SYSTBLS_H
4 #include <linux/kernel.h>
5 #include <linux/types.h>
6 #include <asm/utrap.h>
7 #include <asm/signal.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 asmlinkage long sys_sigpause(unsigned int set);
40 extern asmlinkage long sys_sigsuspend(old_sigset_t set);
41 extern void do_rt_sigreturn(struct pt_regs *regs);
43 #endif /* _SYSTBLS_H */