Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
Uwe Zeisberger | f30c226 | 2006-10-03 23:01:26 +0200 | [diff] [blame] | 2 | * linux/arch/sparc/kernel/sys_solaris.c |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | * |
| 4 | * Copyright (C) 1996 Miguel de Icaza (miguel@nuclecu.unam.mx) |
| 5 | */ |
| 6 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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> |
| 17 | |
| 18 | asmlinkage int |
| 19 | do_solaris_syscall (struct pt_regs *regs) |
| 20 | { |
| 21 | static int cnt = 0; |
| 22 | if (++cnt < 10) printk ("No solaris handler\n"); |
| 23 | force_sig(SIGSEGV, current); |
| 24 | return 0; |
| 25 | } |
| 26 | |
| 27 | #ifndef CONFIG_SUNOS_EMUL |
| 28 | asmlinkage int |
| 29 | do_sunos_syscall (struct pt_regs *regs) |
| 30 | { |
| 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; |
| 35 | } |
| 36 | #endif |