arm64: Add kasan_hw_tags_enable() prototype to silence sparse
authorCatalin Marinas <catalin.marinas@arm.com>
Fri, 10 Jun 2022 17:01:31 +0000 (18:01 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 10 Jun 2022 17:04:05 +0000 (18:04 +0100)
commit78cdaf3f4257ab10a6cec308ed774e7c7f7e5f72
tree63d77e017267d2dba43cb6f2c5c6d97490e78e08
parent2e990e63220bb01e2755b55b93878ce7c8cbe747
arm64: Add kasan_hw_tags_enable() prototype to silence sparse

This function is only called from assembly, no need for a prototype
declaration in a header file. In addition, add #ifdef around the
function since it is only used when CONFIG_KASAN_HW_TAGS.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Reported-by: kernel test robot <lkp@intel.com>
arch/arm64/kernel/mte.c