unistd.h (eaca6eae3e0c41d41fcb9d1d70e00934988dff2e) unistd.h (574c4866e33d648520a8bd5bf6f573ea6e554e88)
1/*
2 * IA-64 Linux syscall numbers and inline-functions.
3 *
4 * Copyright (C) 1998-2005 Hewlett-Packard Co
5 * David Mosberger-Tang <davidm@hpl.hp.com>
6 */
7#ifndef _ASM_IA64_UNISTD_H
8#define _ASM_IA64_UNISTD_H

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

42 unsigned long addr, unsigned long len,
43 int prot, int flags,
44 int fd, long off);
45asmlinkage unsigned long sys_mmap2(
46 unsigned long addr, unsigned long len,
47 int prot, int flags,
48 int fd, long pgoff);
49struct pt_regs;
1/*
2 * IA-64 Linux syscall numbers and inline-functions.
3 *
4 * Copyright (C) 1998-2005 Hewlett-Packard Co
5 * David Mosberger-Tang <davidm@hpl.hp.com>
6 */
7#ifndef _ASM_IA64_UNISTD_H
8#define _ASM_IA64_UNISTD_H

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

42 unsigned long addr, unsigned long len,
43 int prot, int flags,
44 int fd, long off);
45asmlinkage unsigned long sys_mmap2(
46 unsigned long addr, unsigned long len,
47 int prot, int flags,
48 int fd, long pgoff);
49struct pt_regs;
50struct sigaction;
51asmlinkage long sys_ia64_pipe(void);
52
53/*
54 * "Conditional" syscalls
55 *
56 * Note, this macro can only be used in the file which defines sys_ni_syscall, i.e., in
57 * kernel/sys_ni.c. This version causes warnings because the declaration isn't a
58 * proper prototype, but we can't use __typeof__ either, because not all cond_syscall()
59 * declarations have prototypes at the moment.
60 */
61#define cond_syscall(x) asmlinkage long x (void) __attribute__((weak,alias("sys_ni_syscall")))
62
63#endif /* !__ASSEMBLY__ */
64#endif /* _ASM_IA64_UNISTD_H */
50asmlinkage long sys_ia64_pipe(void);
51
52/*
53 * "Conditional" syscalls
54 *
55 * Note, this macro can only be used in the file which defines sys_ni_syscall, i.e., in
56 * kernel/sys_ni.c. This version causes warnings because the declaration isn't a
57 * proper prototype, but we can't use __typeof__ either, because not all cond_syscall()
58 * declarations have prototypes at the moment.
59 */
60#define cond_syscall(x) asmlinkage long x (void) __attribute__((weak,alias("sys_ni_syscall")))
61
62#endif /* !__ASSEMBLY__ */
63#endif /* _ASM_IA64_UNISTD_H */