search for: vm86plus_struct

Displaying 2 results from an estimated 2 matches for "vm86plus_struct".

2001 Aug 27
1
Problem with compilation
...bscriber and I have some problem with compilation. Here is some last line from message of wineinstaller: gcc -I. -I. -I../../include -I../../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fPIC -D__WINE__ -D_REENTRANT -I/usr/X11R6/include -o dosmod ./dosmod.c ./dosmod.c:44: warning: `struct vm86plus_struct' declared inside parameter list ./dosmod.c:44: warning: its scope is only this definition or declaration, which is probably not what you want. ./dosmod.c: In function `bad_handler': ./dosmod.c:136: invalid use of undefined type `struct vm86plus_struct' ./dosmod.c:136: invalid use of u...
2019 Mar 30
1
[PATCH 2/5] x86: Convert some slow-path static_cpu_has() callers to boot_cpu_has()
...(boot_cpu_has(X86_FEATURE_PCID)) cr4_clear_bits(X86_CR4_PCIDE); #endif diff --git a/arch/x86/kernel/vm86_32.c b/arch/x86/kernel/vm86_32.c index a092b6b40c6b..6a38717d179c 100644 --- a/arch/x86/kernel/vm86_32.c +++ b/arch/x86/kernel/vm86_32.c @@ -369,7 +369,7 @@ static long do_sys_vm86(struct vm86plus_struct __user *user_vm86, bool plus) preempt_disable(); tsk->thread.sp0 += 16; - if (static_cpu_has(X86_FEATURE_SEP)) { + if (boot_cpu_has(X86_FEATURE_SEP)) { tsk->thread.sysenter_cs = 0; refresh_sysenter_cs(&tsk->thread); } -- 2.21.0