From: Katy Feng Date: Tue, 22 Aug 2023 18:11:42 +0000 (-0700) Subject: Change to common header file not applicable to open-vm-tools. X-Git-Tag: stable-12.3.0~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a27960f1761ad9f9e5bb7e5eb952f51e2fa0a60;p=thirdparty%2Fopen-vm-tools.git Change to common header file not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/include/vm_basic_asm.h b/open-vm-tools/lib/include/vm_basic_asm.h index cf2e677af..e450b3af5 100644 --- a/open-vm-tools/lib/include/vm_basic_asm.h +++ b/open-vm-tools/lib/include/vm_basic_asm.h @@ -1137,7 +1137,7 @@ RoundUpPow2Asm32(uint32 value) // if out == 2^32 then out = 1 as it is right rotate : [in]"+r"(value),[out]"+r"(out)); return out; -#elif defined(VM_ARM_64) +#elif defined(VM_ARM_64) || defined(__wasm__) return RoundUpPow2C32(value); #else uint32 out = 2;