| 1 | |
| 2 | |
| 3 | * Copyright Altera Corporation (C) 2013. All rights reserved
|
| 4 |
|
| 5 |
|
| 6 | #include <linux/syscalls.h>
|
| 7 | #include <linux/signal.h>
|
| 8 | #include <linux/unistd.h>
|
| 9 |
|
| 10 | #include <asm/syscalls.h>
|
| 11 |
|
| 12 | #define __SYSCALL(nr, call) [nr] = (call),
|
| 13 | #define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native)
|
| 14 |
|
| 15 | #define sys_mmap2 sys_mmap_pgoff
|
| 16 | #define sys_clone3 __sys_clone3
|
| 17 |
|
| 18 | void *sys_call_table[__NR_syscalls] = {
|
| 19 | [0 ... __NR_syscalls-1] = sys_ni_syscall,
|
| 20 | #include <asm/syscall_table_32.h>
|
| 21 | };
|