syscall_table.c (3eb66e91a25497065c5322b1268cbc3953642227) syscall_table.c (f840cab63efe802638bf536221deecfbf3f569ed)
1// SPDX-License-Identifier: GPL-2.0
2// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
3
4#include <linux/syscalls.h>
5#include <asm/syscalls.h>
6
7#undef __SYSCALL
8#define __SYSCALL(nr, call)[nr] = (call),
1// SPDX-License-Identifier: GPL-2.0
2// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
3
4#include <linux/syscalls.h>
5#include <asm/syscalls.h>
6
7#undef __SYSCALL
8#define __SYSCALL(nr, call)[nr] = (call),
9#define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native)
9
10#define sys_fadvise64_64 sys_csky_fadvise64_64
10
11#define sys_fadvise64_64 sys_csky_fadvise64_64
12#define sys_sync_file_range sys_sync_file_range2
11void * const sys_call_table[__NR_syscalls] __page_aligned_data = {
12 [0 ... __NR_syscalls - 1] = sys_ni_syscall,
13void * const sys_call_table[__NR_syscalls] __page_aligned_data = {
14 [0 ... __NR_syscalls - 1] = sys_ni_syscall,
13#include <asm/unistd.h>
15#include <asm/syscall_table_32.h>
14};
16};