From: Oliver Kurth Date: Mon, 6 Jan 2020 23:46:19 +0000 (-0800) Subject: Common header file change not applicable to open-vm-tools. X-Git-Tag: stable-11.1.0~93 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=033d4f020159ac0761f2d047a86282942d49b7c5;p=thirdparty%2Fopen-vm-tools.git Common header file change not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/include/x86cpuid_asm.h b/open-vm-tools/lib/include/x86cpuid_asm.h index f21b56458..f7f9d73c4 100644 --- a/open-vm-tools/lib/include/x86cpuid_asm.h +++ b/open-vm-tools/lib/include/x86cpuid_asm.h @@ -253,23 +253,4 @@ __GET_EDX_FROM_CPUID(uint32 input) #define CPUID_FOR_SIDE_EFFECTS() ((void)__GET_EAX_FROM_CPUID(0)) -/* The first parameter is used as an rvalue and then as an lvalue. */ -#define GET_CPUID(_ax, _bx, _cx, _dx) { \ - CPUIDRegs regs; \ - __GET_CPUID(_ax, ®s); \ - _ax = regs.eax; \ - _bx = regs.ebx; \ - _cx = regs.ecx; \ - _dx = regs.edx; \ -} - -#define GET_CPUID2(_ax, _bx, _cx, _dx) {\ - CPUIDRegs regs; \ - __GET_CPUID2(_ax, _cx, ®s); \ - _ax = regs.eax; \ - _bx = regs.ebx; \ - _cx = regs.ecx; \ - _dx = regs.edx; \ -} - #endif