Changes in 4.9.316 floppy: use a statically allocated error counter um: Cleanup syscall_handler_t definition/cast, fix warning Input: add bounds checking to input_set_capability() MIPS: lantiq: check the return value of kzalloc() drbd: remove usage of list iterator variable after loop ARM: 9191/1: arm/stacktrace, kasan: Silence KASAN warnings in unwind_frame() mmc: core: Specify timeouts for BKOPS and CACHE_FLUSH for eMMC mmc: block: Use generic_cmd6_time when modifying INAND_CMD38_ARG_EXT_CSD mmc: core: Default to generic_cmd6_time as timeout in __mmc_switch() ALSA: wavefront: Proper check of get_user() error perf: Fix sys_perf_event_open() race against self drm/dp/mst: fix a possible memory leak in fetch_monitor_name() net: vmxnet3: fix possible use-after-free bugs in vmxnet3_rq_alloc_rx_buf() net: vmxnet3: fix possible NULL pointer dereference in vmxnet3_rq_cleanup() net/qla3xxx: Fix a test in ql_reset_work() NFC: nci: fix sleep in atomic context bugs caused by nci_skb_alloc net: af_key: add check for pfkey_broadcast in function pfkey_process ARM: 9196/1: spectre-bhb: enable for Cortex-A15 ARM: 9197/1: spectre-bhb: fix loop8 sequence for Thumb2 igb: skip phy status check where unavailable perf bench numa: Address compiler error on s390 scsi: qla2xxx: Fix missed DMA unmap for aborted commands mac80211: fix rx reordering with non explicit / psmp ack policy ethernet: tulip: fix missing pci_disable_device() on error in tulip_init_one() net: stmmac: fix missing pci_disable_device() on error in stmmac_pci_probe() Linux 4.9.316 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I60d930a42ff77412001b92d02d39a6f679fa836c
32 lines
873 B
C
32 lines
873 B
C
/*
|
|
* Copyright 2003 PathScale, Inc.
|
|
*
|
|
* Licensed under the GPL
|
|
*/
|
|
|
|
#ifndef __SYSDEP_X86_64_SYSCALLS_H__
|
|
#define __SYSDEP_X86_64_SYSCALLS_H__
|
|
|
|
#include <linux/msg.h>
|
|
#include <linux/shm.h>
|
|
|
|
typedef long syscall_handler_t(long, long, long, long, long, long);
|
|
|
|
extern syscall_handler_t *sys_call_table[];
|
|
|
|
#define EXECUTE_SYSCALL(syscall, regs) \
|
|
(((*sys_call_table[syscall]))(UPT_SYSCALL_ARG1(®s->regs), \
|
|
UPT_SYSCALL_ARG2(®s->regs), \
|
|
UPT_SYSCALL_ARG3(®s->regs), \
|
|
UPT_SYSCALL_ARG4(®s->regs), \
|
|
UPT_SYSCALL_ARG5(®s->regs), \
|
|
UPT_SYSCALL_ARG6(®s->regs)))
|
|
|
|
extern long old_mmap(unsigned long addr, unsigned long len,
|
|
unsigned long prot, unsigned long flags,
|
|
unsigned long fd, unsigned long pgoff);
|
|
extern syscall_handler_t sys_modify_ldt;
|
|
extern syscall_handler_t sys_arch_prctl;
|
|
|
|
#endif
|