s390/kasan: avoid instrumentation of early C code
authorVasily Gorbik <gor@linux.ibm.com>
Fri, 17 Nov 2017 12:10:33 +0000 (13:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 Nov 2019 07:20:44 +0000 (08:20 +0100)
commitef5ad4f11e74262692bc194ab28f3dd7ae5e465c
tree478ee721d7a4472eb3a938237fea92a41d829f73
parent5228d07c4f92995486ed64e8c3feec300455e584
s390/kasan: avoid instrumentation of early C code

[ Upstream commit 0a9b40911baffac6fc9cc2d88e893585870a97f7 ]

Instrumented C code cannot run without the kasan shadow area. Exempt
source code files from kasan which are running before / used during
kasan initialization.

Reviewed-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/s390/boot/Makefile
arch/s390/boot/compressed/Makefile
arch/s390/kernel/Makefile
drivers/s390/char/Makefile