[MIPS] Always pass -msoft-float.
[linux-2.6/openmoko-kernel/knife-kernel.git] / arch / um / include / sysdep-x86_64 / syscalls.h
blobe06f83e80f4a9e8aa57d5cf5ff26cd455e367d89
1 /*
2 * Copyright 2003 PathScale, Inc.
4 * Licensed under the GPL
5 */
7 #ifndef __SYSDEP_X86_64_SYSCALLS_H__
8 #define __SYSDEP_X86_64_SYSCALLS_H__
10 #include <linux/msg.h>
11 #include <linux/shm.h>
13 typedef long syscall_handler_t(void);
15 extern syscall_handler_t *ia32_sys_call_table[];
17 extern syscall_handler_t *sys_call_table[];
19 #define EXECUTE_SYSCALL(syscall, regs) \
20 (((long (*)(long, long, long, long, long, long)) \
21 (*sys_call_table[syscall]))(UPT_SYSCALL_ARG1(&regs->regs), \
22 UPT_SYSCALL_ARG2(&regs->regs), \
23 UPT_SYSCALL_ARG3(&regs->regs), \
24 UPT_SYSCALL_ARG4(&regs->regs), \
25 UPT_SYSCALL_ARG5(&regs->regs), \
26 UPT_SYSCALL_ARG6(&regs->regs)))
28 extern long old_mmap(unsigned long addr, unsigned long len,
29 unsigned long prot, unsigned long flags,
30 unsigned long fd, unsigned long pgoff);
31 extern syscall_handler_t sys_modify_ldt;
32 extern syscall_handler_t sys_arch_prctl;
34 #define NR_syscalls (__NR_syscall_max + 1)
36 #endif