From e0e41f0943187b1948cf2e4342cb01d07900d511 Mon Sep 17 00:00:00 2001 From: Artem Savkov Date: Thu, 23 Apr 2020 14:15:31 +0200 Subject: [PATCH] tests/integration/module.patch: fix ppc64le build ppc64le build currently fails dues to unused sched_clock variable. Move it's declaration into ifdef block. Signed-off-by: Artem Savkov --- test/integration/rhel-8.1/module.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/rhel-8.1/module.patch b/test/integration/rhel-8.1/module.patch index 5ee8704..8bfb621 100644 --- a/test/integration/rhel-8.1/module.patch +++ b/test/integration/rhel-8.1/module.patch @@ -37,9 +37,9 @@ index a1143f7c2201..253c15ad82b2 100644 struct cache_head *cp = p; struct svc_export *exp = container_of(cp, struct svc_export, h); struct cache_detail *cd = m->private; ++#ifdef CONFIG_X86_64 + unsigned long long sched_clock; + -+#ifdef CONFIG_X86_64 + alternative("ud2", "call yield", X86_FEATURE_ALWAYS); + alternative("call yield", "ud2", X86_FEATURE_IA64); +