]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: vdso: fix makefile dependency on vdso.so
authorJoey Gouly <joey.gouly@arm.com>
Tue, 10 May 2022 10:27:21 +0000 (11:27 +0100)
committerWill Deacon <will@kernel.org>
Tue, 10 May 2022 11:08:40 +0000 (12:08 +0100)
commitd0a381167c11f37d772cc0619fbb1e7b880a3ce4
tree8f1b3a2e24dc454f8bc719dcdeabb805bd2ab010
parentcfed0d9c4064c336322cfb7ef664e72165105d7d
arm64: vdso: fix makefile dependency on vdso.so

There is currently no dependency for vdso*-wrap.S on vdso*.so, which means that
you can get a build that uses a stale vdso*-wrap.o.

In commit 988c290eac02, the file that includes the vdso.so was moved and renamed
from arch/arm64/kernel/vdso/vdso.S to arch/arm64/kernel/vdso-wrap.S, when this
happened the Makefile was not updated to force the dependcy on vdso.so.

Fixes: 988c290eac02 ("arm64: do not descend to vdso directories twice")
Signed-off-by: Joey Gouly <joey.gouly@arm.com>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Vincenzo Frascino <vincenzo.frascino@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20220510102721.50811-1-joey.gouly@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/Makefile
arch/arm64/kernel/vdso/Makefile
arch/arm64/kernel/vdso32/Makefile