sched: reintroduce topology.h tunings
[wrt350n-kernel.git] / kernel / sys_ni.c
blobb0ec498a18d9d86eca840aced3f1580744ef8b71
2 #include <linux/linkage.h>
3 #include <linux/errno.h>
5 #include <asm/unistd.h>
7 /*
8 * Non-implemented system calls get redirected here.
9 */
10 asmlinkage long sys_ni_syscall(void)
12 return -ENOSYS;
15 cond_syscall(sys_nfsservctl);
16 cond_syscall(sys_quotactl);
17 cond_syscall(sys32_quotactl);
18 cond_syscall(sys_acct);
19 cond_syscall(sys_lookup_dcookie);
20 cond_syscall(sys_swapon);
21 cond_syscall(sys_swapoff);
22 cond_syscall(sys_kexec_load);
23 cond_syscall(compat_sys_kexec_load);
24 cond_syscall(sys_init_module);
25 cond_syscall(sys_delete_module);
26 cond_syscall(sys_socketpair);
27 cond_syscall(sys_bind);
28 cond_syscall(sys_listen);
29 cond_syscall(sys_accept);
30 cond_syscall(sys_connect);
31 cond_syscall(sys_getsockname);
32 cond_syscall(sys_getpeername);
33 cond_syscall(sys_sendto);
34 cond_syscall(sys_send);
35 cond_syscall(sys_recvfrom);
36 cond_syscall(sys_recv);
37 cond_syscall(sys_socket);
38 cond_syscall(sys_setsockopt);
39 cond_syscall(sys_getsockopt);
40 cond_syscall(sys_shutdown);
41 cond_syscall(sys_sendmsg);
42 cond_syscall(sys_recvmsg);
43 cond_syscall(sys_socketcall);
44 cond_syscall(sys_futex);
45 cond_syscall(compat_sys_futex);
46 cond_syscall(sys_set_robust_list);
47 cond_syscall(compat_sys_set_robust_list);
48 cond_syscall(sys_get_robust_list);
49 cond_syscall(compat_sys_get_robust_list);
50 cond_syscall(sys_epoll_create);
51 cond_syscall(sys_epoll_ctl);
52 cond_syscall(sys_epoll_wait);
53 cond_syscall(sys_epoll_pwait);
54 cond_syscall(sys_semget);
55 cond_syscall(sys_semop);
56 cond_syscall(sys_semtimedop);
57 cond_syscall(sys_semctl);
58 cond_syscall(sys_msgget);
59 cond_syscall(sys_msgsnd);
60 cond_syscall(sys_msgrcv);
61 cond_syscall(sys_msgctl);
62 cond_syscall(sys_shmget);
63 cond_syscall(sys_shmat);
64 cond_syscall(sys_shmdt);
65 cond_syscall(sys_shmctl);
66 cond_syscall(sys_mq_open);
67 cond_syscall(sys_mq_unlink);
68 cond_syscall(sys_mq_timedsend);
69 cond_syscall(sys_mq_timedreceive);
70 cond_syscall(sys_mq_notify);
71 cond_syscall(sys_mq_getsetattr);
72 cond_syscall(compat_sys_mq_open);
73 cond_syscall(compat_sys_mq_timedsend);
74 cond_syscall(compat_sys_mq_timedreceive);
75 cond_syscall(compat_sys_mq_notify);
76 cond_syscall(compat_sys_mq_getsetattr);
77 cond_syscall(sys_mbind);
78 cond_syscall(sys_get_mempolicy);
79 cond_syscall(sys_set_mempolicy);
80 cond_syscall(compat_sys_mbind);
81 cond_syscall(compat_sys_get_mempolicy);
82 cond_syscall(compat_sys_set_mempolicy);
83 cond_syscall(sys_add_key);
84 cond_syscall(sys_request_key);
85 cond_syscall(sys_keyctl);
86 cond_syscall(compat_sys_keyctl);
87 cond_syscall(compat_sys_socketcall);
88 cond_syscall(sys_inotify_init);
89 cond_syscall(sys_inotify_add_watch);
90 cond_syscall(sys_inotify_rm_watch);
91 cond_syscall(sys_migrate_pages);
92 cond_syscall(sys_move_pages);
93 cond_syscall(sys_chown16);
94 cond_syscall(sys_fchown16);
95 cond_syscall(sys_getegid16);
96 cond_syscall(sys_geteuid16);
97 cond_syscall(sys_getgid16);
98 cond_syscall(sys_getgroups16);
99 cond_syscall(sys_getresgid16);
100 cond_syscall(sys_getresuid16);
101 cond_syscall(sys_getuid16);
102 cond_syscall(sys_lchown16);
103 cond_syscall(sys_setfsgid16);
104 cond_syscall(sys_setfsuid16);
105 cond_syscall(sys_setgid16);
106 cond_syscall(sys_setgroups16);
107 cond_syscall(sys_setregid16);
108 cond_syscall(sys_setresgid16);
109 cond_syscall(sys_setresuid16);
110 cond_syscall(sys_setreuid16);
111 cond_syscall(sys_setuid16);
112 cond_syscall(sys_vm86old);
113 cond_syscall(sys_vm86);
114 cond_syscall(compat_sys_ipc);
115 cond_syscall(compat_sys_sysctl);
117 /* arch-specific weak syscall entries */
118 cond_syscall(sys_pciconfig_read);
119 cond_syscall(sys_pciconfig_write);
120 cond_syscall(sys_pciconfig_iobase);
121 cond_syscall(sys32_ipc);
122 cond_syscall(sys32_sysctl);
123 cond_syscall(ppc_rtas);
124 cond_syscall(sys_spu_run);
125 cond_syscall(sys_spu_create);
127 /* mmu depending weak syscall entries */
128 cond_syscall(sys_mprotect);
129 cond_syscall(sys_msync);
130 cond_syscall(sys_mlock);
131 cond_syscall(sys_munlock);
132 cond_syscall(sys_mlockall);
133 cond_syscall(sys_munlockall);
134 cond_syscall(sys_mincore);
135 cond_syscall(sys_madvise);
136 cond_syscall(sys_mremap);
137 cond_syscall(sys_remap_file_pages);
138 cond_syscall(compat_sys_move_pages);
139 cond_syscall(compat_sys_migrate_pages);
141 /* block-layer dependent */
142 cond_syscall(sys_bdflush);
143 cond_syscall(sys_ioprio_set);
144 cond_syscall(sys_ioprio_get);
146 /* New file descriptors */
147 cond_syscall(sys_signalfd);
148 cond_syscall(sys_timerfd);
149 cond_syscall(compat_sys_signalfd);
150 cond_syscall(compat_sys_timerfd);
151 cond_syscall(sys_eventfd);