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

am: 8e0ec20539

Change-Id: I232544f0d96384f70c58b37f41f524ff4bc808fe
This commit is contained in:
Andrey Ryabinin
2017-03-22 11:32:20 +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>