arm64/efi: Make strnlen() available to the EFI namespace
authorThierry Reding <treding@nvidia.com>
Tue, 16 Feb 2016 10:16:31 +0000 (11:16 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 16 Feb 2016 10:32:10 +0000 (10:32 +0000)
commit7f4e346263f59ff50b531dda94609fb13ca12401
treeb12c6050856334aa7610d160512eb7b3672c460a
parentbee038a4bd2efe8188cc80dfdad706a9abe568ad
arm64/efi: Make strnlen() available to the EFI namespace

Changes introduced in the upstream version of libfdt pulled in by commit
91feabc2e224 ("scripts/dtc: Update to upstream commit b06e55c88b9b") use
the strnlen() function, which isn't currently available to the EFI name-
space. Add it to the EFI namespace to avoid a linker error.

Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Rob Herring <robh@kernel.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/image.h
arch/arm64/lib/strnlen.S