[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[XEN PATCH 3/3] xen/efi: efibind: Drop alternative define for old GCC versions
- To: xen-devel@xxxxxxxxxxxxxxxxxxxx
- From: nicola.vetrini@xxxxxxxxx
- Date: Wed, 13 Aug 2025 21:12:50 +0200
- Arc-authentication-results: i=1; bugseng.com; arc=none smtp.remote-ip=46.228.253.214
- Arc-message-signature: i=1; d=bugseng.com; s=openarc; a=rsa-sha256; c=relaxed/relaxed; t=1755112442; h=From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding; bh=BTUrqcilpvPjOMlf0B5Cq3Jl+kwMS+HJmY4prEiMWNg=; b=O4CLM2qUDYZ4TBv1+9hXsCYVZesFgktiy/JCSy+Iq5AXsrhdFZZVE/wJ7weHQKiWRomP nvsZiRvGSI98XZhMrKakfa9XJwOUZbGUJe8z1MWLxXdaEiXszyK0g4LlEN43qj9ZX7Wy3 vbix+3v6L7NriPyycnsYAKQZSvX4R2MPMCHBud+iBjkMVH7GXhKm/G1BJu0YerVvgw3Hw KW2OlGmFbfuAFPQuGfJi+YKgG25yWQnIZyK91+xbur12F7Q+vDu/OnKz/ICPREvPP8RGh GqPad7CrbSsQhbwCMmttEUFyEz6PMGO20tmyBf4rOSRrlyaT+mfxLXqMCtKy2Yeu5M2Te uheNT4dXFYGP6RgI4qDS5148nlUH1i9guJ2KeOHqM/qWZ8Um66pX1ur/c53j2U2/FUr94 Xk3JjbPVOzvOasqaw0Tpq8kyciuMMSiJEBOff/3LryHeRzkcFObTdk0j7koGf9fkQWnwA 3kGiIZdpDiYfjfgaWTKHdNB7S8wLdd2EiIS1+ylXv5Q1ZTv5fi/6PrNR1tetONKkFmd6o VQ0o20BLO3eivw1QvVU3gKxBsJZvrxi2hzcTYGtNw1tk3cfXkkE7p1diYtrmrLkzvTyJ8 pzh6Vw59j9jOM7tjgyeIsFDijK0ohi6RcfXE+k5I9SJsEaGnPJZIhfeKpGGcnK4=
- Arc-seal: i=1; d=bugseng.com; s=openarc; a=rsa-sha256; cv=none; t=1755112442; b=hEITOhzApCdd24lcK7H0iilLqOy60T139nZD1seCkR68+S+NFWvV1BJJCeeBcRb539Ae xWBiRrwqhxtDcgoomNH6ImcjZZZK91lJMLfl7hIsMGPEVCMwa6Y6wHbqy8boPqM4HujF5 YeZMUuBYVv/4m6jU7eeHx5idxEYngmtvuDsuCe9VfWzNy7JYFREWZMy1z89pPNKfHzbgR OMBZqE+d4dFwtkMjt7TJOcisH1ZOwBBqvkfOxWg8BBFU67lZ5npt9KV8USaRJhwZ/qYOT q6Ad2PagcPetmy7li3QRVobVi6auyCGQriKeuzVRtPfwEN51ko/npPW+ssMqwMEGrSOv4 782wuU4xXMK+poCn+OOjI3UnIteXq5A50uePKbLMKKFPVv40ayu7GE5K178Q6rfD4/LQn N4jSuHOeVStJ+AgTKo/ygwN+TD3xKnT091wHUqKseMePZZSbetYqj0xnRtD6XrcYl46im C24xE2L5o0yt5Muiq6cO4JE9UlSvMIQZ4mgcQ1g3q+RM7x2pzjAHxevW1PRFKfo7kEfhW 6t/BaZ+qmJLm3RtWR241wF2X/RH7owRkpcpcaj0qaEEaO3teoAjyOS14duULTtbfg5Jcj bPYyR5sbfvCYkGhOhyBeeKEnrGRIl2/VoaZlARtHqQvLHO2aqq6QW4iml734LSg=
- Authentication-results: bugseng.com; arc=none smtp.remote-ip=46.228.253.214
- Cc: Nicola Vetrini <nicola.vetrini@xxxxxxxxx>, "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>, Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
- Delivery-date: Wed, 13 Aug 2025 19:14:05 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
From: Nicola Vetrini <nicola.vetrini@xxxxxxxxx>
Since the toolchain baseline for GCC is 5.1, there is no need for
this case.
Signed-off-by: Nicola Vetrini <nicola.vetrini@xxxxxxxxx>
---
Mentioned in https://gitlab.com/xen-project/xen/-/issues/201
---
xen/arch/x86/include/asm/x86_64/efibind.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/xen/arch/x86/include/asm/x86_64/efibind.h
b/xen/arch/x86/include/asm/x86_64/efibind.h
index b29342c61cac..d71b9324a6bb 100644
--- a/xen/arch/x86/include/asm/x86_64/efibind.h
+++ b/xen/arch/x86/include/asm/x86_64/efibind.h
@@ -173,10 +173,8 @@ typedef uint64_t UINTN;
#ifndef EFIAPI // Forces EFI calling conventions reguardless
of compiler options
#ifdef _MSC_EXTENSIONS
#define EFIAPI __cdecl // Force C calling convention for Microsoft C
compiler
- #elif __clang__ || __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)
- #define EFIAPI __attribute__((__ms_abi__)) // Force Microsoft ABI
#else
- #define EFIAPI // Substitute expression to force C calling
convention
+ #define EFIAPI __attribute__((__ms_abi__)) // Force Microsoft ABI
#endif
#endif
--
2.43.0
|