git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
riscv: Add KASAN support
[sfrench/cifs-2.6.git]
/
arch
/
riscv
/
kernel
/
head.S
diff --git
a/arch/riscv/kernel/head.S
b/arch/riscv/kernel/head.S
index a4242be66966b2bdbfaee559b93b905e8a0e0d45..271860fc2c3f02a5d50552339a005004444ab456 100644
(file)
--- a/
arch/riscv/kernel/head.S
+++ b/
arch/riscv/kernel/head.S
@@
-121,6
+121,9
@@
clear_bss_done:
sw zero, TASK_TI_CPU(tp)
la sp, init_thread_union + THREAD_SIZE
+#ifdef CONFIG_KASAN
+ call kasan_early_init
+#endif
/* Start the kernel */
call parse_dtb
tail start_kernel