Merge pull request #1092 from sm00th/ppc64le-int-module-fix

tests/integration/module.patch: fix ppc64le build
This commit is contained in:
Yannick Cote 2020-04-23 10:29:40 -04:00 committed by GitHub
commit 8e8707ed72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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