33 lines
887 B
Diff
33 lines
887 B
Diff
From bb93611dd8248c0a4c05b9ccd9a93a78432044d7 Mon Sep 17 00:00:00 2001
|
|
From: John Kacur <jkacur@redhat.com>
|
|
Date: Thu, 19 Sep 2019 20:19:17 +0200
|
|
Subject: [PATCH 7/8] rt-tests: cyclictest: Assume libnuma version 2 by default
|
|
|
|
Most distributions have used libnuma version 2 for awhile now, so make
|
|
it the default.
|
|
|
|
This doesn't prevent people from defining it as version 1, or compiling
|
|
without numa.
|
|
|
|
Signed-off-by: John Kacur <jkacur@redhat.com>
|
|
---
|
|
src/cyclictest/rt_numa.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/cyclictest/rt_numa.h b/src/cyclictest/rt_numa.h
|
|
index e0f4b2e9d8b2..7adeb3c01324 100644
|
|
--- a/src/cyclictest/rt_numa.h
|
|
+++ b/src/cyclictest/rt_numa.h
|
|
@@ -29,7 +29,7 @@ static int numa = 0;
|
|
#include <numa.h>
|
|
|
|
#ifndef LIBNUMA_API_VERSION
|
|
-#define LIBNUMA_API_VERSION 1
|
|
+#define LIBNUMA_API_VERSION 2
|
|
#endif
|
|
|
|
static void *
|
|
--
|
|
2.20.1
|
|
|