headers: utsname.h redux
[firewire-audio.git] / arch / sparc / kernel / systbls.h
bloba63c5d2d984917e242441d8b85f856f109f07661
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 struct new_utsname;
11 extern asmlinkage unsigned long sys_getpagesize(void);
12 extern asmlinkage unsigned long sparc_brk(unsigned long brk);
13 extern asmlinkage long sparc_pipe(struct pt_regs *regs);
14 extern asmlinkage long sys_ipc(unsigned int call, int first,
15 unsigned long second,
16 unsigned long third,
17 void __user *ptr, long fifth);
18 extern asmlinkage long sparc64_newuname(struct new_utsname __user *name);
19 extern asmlinkage long sparc64_personality(unsigned long personality);
20 extern asmlinkage long sys64_munmap(unsigned long addr, size_t len);
21 extern asmlinkage unsigned long sys64_mremap(unsigned long addr,
22 unsigned long old_len,
23 unsigned long new_len,
24 unsigned long flags,
25 unsigned long new_addr);
26 extern asmlinkage unsigned long c_sys_nis_syscall(struct pt_regs *regs);
27 extern asmlinkage long sys_getdomainname(char __user *name, int len);
28 extern asmlinkage long sys_utrap_install(utrap_entry_t type,
29 utrap_handler_t new_p,
30 utrap_handler_t new_d,
31 utrap_handler_t __user *old_p,
32 utrap_handler_t __user *old_d);
33 extern asmlinkage long sparc_memory_ordering(unsigned long model,
34 struct pt_regs *regs);
35 extern asmlinkage long sys_rt_sigaction(int sig,
36 const struct sigaction __user *act,
37 struct sigaction __user *oact,
38 void __user *restorer,
39 size_t sigsetsize);
40 extern asmlinkage long sys_perfctr(int opcode, unsigned long arg0,
41 unsigned long arg1, unsigned long arg2);
43 extern asmlinkage void sparc64_set_context(struct pt_regs *regs);
44 extern asmlinkage void sparc64_get_context(struct pt_regs *regs);
45 extern asmlinkage long sys_sigpause(unsigned int set);
46 extern asmlinkage long sys_sigsuspend(old_sigset_t set);
47 extern void do_rt_sigreturn(struct pt_regs *regs);
49 #endif /* _SYSTBLS_H */