aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/setup.c
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@linaro.org>2016-04-27 10:08:48 +0800
committerAlex Shi <alex.shi@linaro.org>2016-04-27 10:08:48 +0800
commita79bee58f4fc3cc237fc86667edf2d0b9dce0173 (patch)
tree7d1df3ba21a3de136cd0649caeec50f793133a03 /arch/x86/kernel/setup.c
parentef59ba115fc76ea4c21030f49e31fe18e9055679 (diff)
parente0ac66e00b01f6ff4e8274a4b5c008a26583c1b9 (diff)
Merge branch 'linux-linaro-lsk-v3.18' into linux-linaro-lsk-v3.18-androidlsk-v3.18-16.04-android
Conflicts: arch/arm64/kernel/head.S arch/arm64/mm/Makefile
Diffstat (limited to 'arch/x86/kernel/setup.c')
-rw-r--r--arch/x86/kernel/setup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index 87b6496a32f1..28a850625672 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -89,6 +89,7 @@
#include <asm/cacheflush.h>
#include <asm/processor.h>
#include <asm/bugs.h>
+#include <asm/kasan.h>
#include <asm/vsyscall.h>
#include <asm/cpu.h>
@@ -1174,6 +1175,8 @@ void __init setup_arch(char **cmdline_p)
x86_init.paging.pagetable_init();
+ kasan_init();
+
if (boot_cpu_data.cpuid_level >= 0) {
/* A CPU has %cr4 if and only if it has CPUID */
mmu_cr4_features = __read_cr4();