1 /*
2  * linux/arch/sparc/sys_solaris.c
3  *
4  * Copyright (C) 1996 Miguel de Icaza (miguel@nuclecu.unam.mx)
5  */
6 
7 #include <linux/config.h>
8 #include <linux/sched.h>
9 #include <linux/kernel.h>
10 #include <linux/string.h>
11 #include <linux/errno.h>
12 #include <linux/personality.h>
13 #include <linux/ptrace.h>
14 #include <linux/mm.h>
15 #include <linux/smp.h>
16 #include <linux/smp_lock.h>
17 #include <linux/module.h>
18 
19 asmlinkage int
do_solaris_syscall(struct pt_regs * regs)20 do_solaris_syscall (struct pt_regs *regs)
21 {
22 	static int cnt = 0;
23 	if (++cnt < 10) printk ("No solaris handler\n");
24 	force_sig(SIGSEGV, current);
25 	return 0;
26 }
27 
28 #ifndef CONFIG_SUNOS_EMUL
29 asmlinkage int
do_sunos_syscall(struct pt_regs * regs)30 do_sunos_syscall (struct pt_regs *regs)
31 {
32 	static int cnt = 0;
33 	if (++cnt < 10) printk ("SunOS binary emulation not compiled in\n");
34 	force_sig (SIGSEGV, current);
35 	return 0;
36 }
37 #endif
38