Commit | Line | Data |
---|---|---|
1da177e4 | 1 | /* |
f30c2269 | 2 | * linux/arch/sparc/kernel/sys_solaris.c |
1da177e4 LT |
3 | * |
4 | * Copyright (C) 1996 Miguel de Icaza (miguel@nuclecu.unam.mx) | |
5 | */ | |
6 | ||
1da177e4 LT |
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> | |
1da177e4 LT |
15 | #include <linux/module.h> |
16 | ||
17 | asmlinkage int | |
18 | do_solaris_syscall (struct pt_regs *regs) | |
19 | { | |
20 | static int cnt = 0; | |
21 | if (++cnt < 10) printk ("No solaris handler\n"); | |
22 | force_sig(SIGSEGV, current); | |
23 | return 0; | |
24 | } | |
25 | ||
26 | #ifndef CONFIG_SUNOS_EMUL | |
27 | asmlinkage int | |
28 | do_sunos_syscall (struct pt_regs *regs) | |
29 | { | |
30 | static int cnt = 0; | |
31 | if (++cnt < 10) printk ("SunOS binary emulation not compiled in\n"); | |
32 | force_sig (SIGSEGV, current); | |
33 | return 0; | |
34 | } | |
35 | #endif |