[PATCH] md: allow SET_BITMAP_FILE to work on 64bit kernel with 32bit userspace
[linux-2.6.22.y-op.git] / arch / sparc / kernel / sys_solaris.c
blobc09afd96dd9c8f95d6fc8771a904e061ee716da2
1 /*
2 * linux/arch/sparc/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