x86/kasan: Fix boot with KASAN=y and PROFILE_ANNOTATED_BRANCHES=y

am: 24ba2842a4

Change-Id: Ice61360ad131e124ba97e52e456a79b9cb02d350
This commit is contained in:
Andrey Ryabinin
2017-03-22 12:08:49 +00:00
committed by android-build-merger
2 changed files with 2 additions and 0 deletions

View File

@@ -4,6 +4,7 @@
* Copyright (C) 2000 Andrea Arcangeli <andrea@suse.de> SuSE
*/
#define DISABLE_BRANCH_PROFILING
#include <linux/init.h>
#include <linux/linkage.h>
#include <linux/types.h>

View File

@@ -1,3 +1,4 @@
#define DISABLE_BRANCH_PROFILING
#define pr_fmt(fmt) "kasan: " fmt
#include <linux/bootmem.h>
#include <linux/kasan.h>