4 #include <linux/kernel.h>
5 #include <linux/types.h>
6 #include <linux/utsname.h>
8 #include <asm/signal.h>
10 extern asmlinkage
unsigned long sys_getpagesize(void);
11 extern asmlinkage
unsigned long sparc_brk(unsigned long brk
);
12 extern asmlinkage
long sparc_pipe(struct pt_regs
*regs
);
13 extern asmlinkage
long sys_ipc(unsigned int call
, int first
,
16 void __user
*ptr
, long fifth
);
17 extern asmlinkage
long sparc64_newuname(struct new_utsname __user
*name
);
18 extern asmlinkage
long sparc64_personality(unsigned long personality
);
19 extern asmlinkage
unsigned long sys_mmap(unsigned long addr
, unsigned long len
,
20 unsigned long prot
, unsigned long flags
,
21 unsigned long fd
, unsigned long off
);
22 extern asmlinkage
long sys64_munmap(unsigned long addr
, size_t len
);
23 extern asmlinkage
unsigned long sys64_mremap(unsigned long addr
,
24 unsigned long old_len
,
25 unsigned long new_len
,
27 unsigned long new_addr
);
28 extern asmlinkage
unsigned long c_sys_nis_syscall(struct pt_regs
*regs
);
29 extern asmlinkage
long sys_getdomainname(char __user
*name
, int len
);
30 extern asmlinkage
long sys_utrap_install(utrap_entry_t type
,
31 utrap_handler_t new_p
,
32 utrap_handler_t new_d
,
33 utrap_handler_t __user
*old_p
,
34 utrap_handler_t __user
*old_d
);
35 extern asmlinkage
long sparc_memory_ordering(unsigned long model
,
36 struct pt_regs
*regs
);
37 extern asmlinkage
long sys_rt_sigaction(int sig
,
38 const struct sigaction __user
*act
,
39 struct sigaction __user
*oact
,
40 void __user
*restorer
,
42 extern asmlinkage
long sys_perfctr(int opcode
, unsigned long arg0
,
43 unsigned long arg1
, unsigned long arg2
);
45 extern asmlinkage
void sparc64_set_context(struct pt_regs
*regs
);
46 extern asmlinkage
void sparc64_get_context(struct pt_regs
*regs
);
47 extern asmlinkage
long sys_sigpause(unsigned int set
);
48 extern asmlinkage
long sys_sigsuspend(old_sigset_t set
);
49 extern void do_rt_sigreturn(struct pt_regs
*regs
);
51 #endif /* _SYSTBLS_H */