* [PATCH] selftests/powerpc: Fix build break caused by EXPORT_SYMBOL changes
@ 2016-10-05 5:22 Michael Ellerman
2016-10-19 2:17 ` Michael Ellerman
0 siblings, 1 reply; 2+ messages in thread
From: Michael Ellerman @ 2016-10-05 5:22 UTC (permalink / raw)
To: linuxppc-dev; +Cc: linux-kselftest
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>
---
tools/testing/selftests/powerpc/copyloops/asm/export.h | 1 +
tools/testing/selftests/powerpc/stringloops/asm/export.h | 1 +
2 files changed, 2 insertions(+)
create mode 100644 tools/testing/selftests/powerpc/copyloops/asm/export.h
create mode 100644 tools/testing/selftests/powerpc/stringloops/asm/export.h
diff --git a/tools/testing/selftests/powerpc/copyloops/asm/export.h b/tools/testing/selftests/powerpc/copyloops/asm/export.h
new file mode 100644
index 000000000000..2d14a9b4248c
--- /dev/null
+++ b/tools/testing/selftests/powerpc/copyloops/asm/export.h
@@ -0,0 +1 @@
+#define EXPORT_SYMBOL(x)
diff --git a/tools/testing/selftests/powerpc/stringloops/asm/export.h b/tools/testing/selftests/powerpc/stringloops/asm/export.h
new file mode 100644
index 000000000000..2d14a9b4248c
--- /dev/null
+++ b/tools/testing/selftests/powerpc/stringloops/asm/export.h
@@ -0,0 +1 @@
+#define EXPORT_SYMBOL(x)
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: selftests/powerpc: Fix build break caused by EXPORT_SYMBOL changes
2016-10-05 5:22 [PATCH] selftests/powerpc: Fix build break caused by EXPORT_SYMBOL changes Michael Ellerman
@ 2016-10-19 2:17 ` Michael Ellerman
0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2016-10-19 2:17 UTC (permalink / raw)
To: Michael Ellerman, linuxppc-dev; +Cc: linux-kselftest
On Wed, 2016-05-10 at 05:22:57 UTC, Michael Ellerman wrote:
> 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>
Applied to powerpc next.
https://git.kernel.org/powerpc/c/8321564a11bbeadffcc7d6335bcf3c
cheers
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-10-19 2:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-05 5:22 [PATCH] selftests/powerpc: Fix build break caused by EXPORT_SYMBOL changes Michael Ellerman
2016-10-19 2:17 ` Michael Ellerman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.