mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 16:23:29 +07:00
ba3e127ec1
vm86.h was being implicitly included in alot of places via processor.h, which in turn got it from math_emu.h. Break that chain and explicitly include vm86.h in all files that need it. Also remove unused vm86 field from math_emu_info. Signed-off-by: Brian Gerst <brgerst@gmail.com> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Borislav Petkov <bp@alien8.de> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/1438148483-11932-7-git-send-email-brgerst@gmail.com [ Fixed build failure. ] Signed-off-by: Ingo Molnar <mingo@kernel.org>
56 lines
1.4 KiB
C
56 lines
1.4 KiB
C
/*
|
|
* syscalls.h - Linux syscall interfaces (arch-specific)
|
|
*
|
|
* Copyright (c) 2008 Jaswinder Singh Rajput
|
|
*
|
|
* This file is released under the GPLv2.
|
|
* See the file COPYING for more details.
|
|
*/
|
|
|
|
#ifndef _ASM_X86_SYSCALLS_H
|
|
#define _ASM_X86_SYSCALLS_H
|
|
|
|
#include <linux/compiler.h>
|
|
#include <linux/linkage.h>
|
|
#include <linux/signal.h>
|
|
#include <linux/types.h>
|
|
|
|
/* Common in X86_32 and X86_64 */
|
|
/* kernel/ioport.c */
|
|
asmlinkage long sys_ioperm(unsigned long, unsigned long, int);
|
|
asmlinkage long sys_iopl(unsigned int);
|
|
|
|
/* kernel/ldt.c */
|
|
asmlinkage int sys_modify_ldt(int, void __user *, unsigned long);
|
|
|
|
/* kernel/signal.c */
|
|
asmlinkage long sys_rt_sigreturn(void);
|
|
|
|
/* kernel/tls.c */
|
|
asmlinkage long sys_set_thread_area(struct user_desc __user *);
|
|
asmlinkage long sys_get_thread_area(struct user_desc __user *);
|
|
|
|
/* X86_32 only */
|
|
#ifdef CONFIG_X86_32
|
|
|
|
/* kernel/signal.c */
|
|
asmlinkage unsigned long sys_sigreturn(void);
|
|
|
|
/* kernel/vm86_32.c */
|
|
struct vm86_struct;
|
|
asmlinkage long sys_vm86old(struct vm86_struct __user *);
|
|
asmlinkage long sys_vm86(unsigned long, unsigned long);
|
|
|
|
#else /* CONFIG_X86_32 */
|
|
|
|
/* X86_64 only */
|
|
/* kernel/process_64.c */
|
|
asmlinkage long sys_arch_prctl(int, unsigned long);
|
|
|
|
/* kernel/sys_x86_64.c */
|
|
asmlinkage long sys_mmap(unsigned long, unsigned long, unsigned long,
|
|
unsigned long, unsigned long, unsigned long);
|
|
|
|
#endif /* CONFIG_X86_32 */
|
|
#endif /* _ASM_X86_SYSCALLS_H */
|