From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7ADB910E062 for ; Sun, 22 Oct 2023 16:00:32 +0000 (UTC) From: Bernd Kuhls To: igt-dev@lists.freedesktop.org Date: Sun, 22 Oct 2023 17:52:26 +0200 Message-Id: <20231022155226.3484622-8-bernd@kuhls.net> In-Reply-To: <20231022155226.3484622-1-bernd@kuhls.net> References: <20231022155226.3484622-1-bernd@kuhls.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH 7/7] benchmarks/gem_syslatency.c: Fix musl build List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stefano Ragni Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: From: Stefano Ragni Original patch was added to void-linux: https://github.com/void-linux/void-packages/commit/ddfc1f66a0c571b420303c33aed29fd38ace4fc7 Bug report with request to split the original patch into some functional changes: https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/issues/138 Fixes build error: ../benchmarks/gem_syslatency.c:166:13: error: ‘union ’ has no member named ‘sigev_notify_thread_id’ 166 | sev.sigev_notify_thread_id = gettid(); Signed-off-by: Bernd Kuhls --- benchmarks/gem_syslatency.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/benchmarks/gem_syslatency.c b/benchmarks/gem_syslatency.c index 312c428b7..e0740fc11 100644 --- a/benchmarks/gem_syslatency.c +++ b/benchmarks/gem_syslatency.c @@ -46,6 +46,8 @@ #include #endif +#define sigev_notify_thread_id sigev_notify_function + #include "i915/gem_create.h" #include "i915/gem_ring.h" #include "igt_aux.h" -- 2.39.2