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