Browse Source

selftests/powerpc: Fix build break caused by EXPORT_SYMBOL changes

The changes to make EXPORT_SYMBOL work in asm, specifically commit
9445aa1a3062 ("ppc: move exports to definitions"), in the kbuild tree,
breaks some of our selftests.

That is because we symlink the kernel code into the selftest, and shim
the required headers, and we are now missing asm/export.h

So create a minimal export.h to keep the tests building once powerpc and
the kbuild trees are merged.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Michael Ellerman 8 years ago
parent
commit
8321564a11

+ 1 - 0
tools/testing/selftests/powerpc/copyloops/asm/export.h

@@ -0,0 +1 @@
+#define EXPORT_SYMBOL(x)

+ 1 - 0
tools/testing/selftests/powerpc/stringloops/asm/export.h

@@ -0,0 +1 @@
+#define EXPORT_SYMBOL(x)