syscalls.h (ea2a6af517714c52a1209795a03e863e96b460bb) syscalls.h (fa697140f9a20119a9ec8fd7460cc4314fbdaff3)
1/*
2 * syscalls.h - Linux syscall interfaces (arch-specific)
3 *
4 * Copyright (c) 2008 Jaswinder Singh Rajput
5 *
6 * This file is released under the GPLv2.
7 * See the file COPYING for more details.
8 */

--- 4 unchanged lines hidden (view full) ---

13#include <linux/compiler.h>
14#include <linux/linkage.h>
15#include <linux/signal.h>
16#include <linux/types.h>
17
18/* Common in X86_32 and X86_64 */
19/* kernel/ioport.c */
20long ksys_ioperm(unsigned long from, unsigned long num, int turn_on);
1/*
2 * syscalls.h - Linux syscall interfaces (arch-specific)
3 *
4 * Copyright (c) 2008 Jaswinder Singh Rajput
5 *
6 * This file is released under the GPLv2.
7 * See the file COPYING for more details.
8 */

--- 4 unchanged lines hidden (view full) ---

13#include <linux/compiler.h>
14#include <linux/linkage.h>
15#include <linux/signal.h>
16#include <linux/types.h>
17
18/* Common in X86_32 and X86_64 */
19/* kernel/ioport.c */
20long ksys_ioperm(unsigned long from, unsigned long num, int turn_on);
21
22#ifndef CONFIG_SYSCALL_PTREGS
23/*
24 * If CONFIG_SYSCALL_PTREGS is enabled, a different syscall calling convention
25 * is used. Do not include these -- invalid -- prototypes then
26 */
21asmlinkage long sys_ioperm(unsigned long, unsigned long, int);
22asmlinkage long sys_iopl(unsigned int);
23
24/* kernel/ldt.c */
25asmlinkage long sys_modify_ldt(int, void __user *, unsigned long);
26
27/* kernel/signal.c */
28asmlinkage long sys_rt_sigreturn(void);

--- 19 unchanged lines hidden (view full) ---

48/* kernel/process_64.c */
49asmlinkage long sys_arch_prctl(int, unsigned long);
50
51/* kernel/sys_x86_64.c */
52asmlinkage long sys_mmap(unsigned long, unsigned long, unsigned long,
53 unsigned long, unsigned long, unsigned long);
54
55#endif /* CONFIG_X86_32 */
27asmlinkage long sys_ioperm(unsigned long, unsigned long, int);
28asmlinkage long sys_iopl(unsigned int);
29
30/* kernel/ldt.c */
31asmlinkage long sys_modify_ldt(int, void __user *, unsigned long);
32
33/* kernel/signal.c */
34asmlinkage long sys_rt_sigreturn(void);

--- 19 unchanged lines hidden (view full) ---

54/* kernel/process_64.c */
55asmlinkage long sys_arch_prctl(int, unsigned long);
56
57/* kernel/sys_x86_64.c */
58asmlinkage long sys_mmap(unsigned long, unsigned long, unsigned long,
59 unsigned long, unsigned long, unsigned long);
60
61#endif /* CONFIG_X86_32 */
62#endif /* CONFIG_SYSCALL_PTREGS */
56#endif /* _ASM_X86_SYSCALLS_H */
63#endif /* _ASM_X86_SYSCALLS_H */