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 <asavkov@redhat.com>
This commit is contained in:
Artem Savkov 2020-04-23 14:15:31 +02:00
parent 42bc85d0dc
commit e0e41f0943
1 changed files with 1 additions and 1 deletions

View File

@ -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);
+