kbuild: Fix instrumentation removal breakage on avr32
[wrt350n-kernel.git] / arch / sparc / kernel / sys_solaris.c
blob2226a59924840ac571326150f192ccac9e604ffa
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/module.h>
17 asmlinkage int
18 do_solaris_syscall (struct pt_regs *regs)
20 static int cnt = 0;
21 if (++cnt < 10) printk ("No solaris handler\n");
22 force_sig(SIGSEGV, current);
23 return 0;
26 #ifndef CONFIG_SUNOS_EMUL
27 asmlinkage int
28 do_sunos_syscall (struct pt_regs *regs)
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;
35 #endif