Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1f9a4749 authored by Andrey Ryabinin's avatar Andrey Ryabinin Committed by Trilok Soni
Browse files

x86/kasan: Move KASAN_SHADOW_OFFSET to the arch Kconfig



KASAN_SHADOW_OFFSET is purely arch specific setting,
so it should be in arch's Kconfig file.

Signed-off-by: default avatarAndrey Ryabinin <a.ryabinin@samsung.com>
Cc: Alexander Popov <alpopov@ptsecurity.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Andrey Konovalov <adech.fo@gmail.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul Bolle <pebolle@tiscali.nl>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1435828178-10975-7-git-send-email-a.ryabinin@samsung.com


Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Git-Commit: d6f2d75a7ae06ffd793bb504c4f0d1665548cffc
Git repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarJeevan Shriram <jshriram@codeaurora.org>
parent 6efac2f7
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -245,6 +245,11 @@ config ARCH_SUPPORTS_OPTIMIZED_INLINING
config ARCH_SUPPORTS_DEBUG_PAGEALLOC
	def_bool y

config KASAN_SHADOW_OFFSET
	hex
	depends on KASAN
	default 0xdffffc0000000000

config HAVE_INTEL_TXT
	def_bool y
	depends on INTEL_IOMMU && ACPI
+0 −4
Original line number Diff line number Diff line
@@ -20,10 +20,6 @@ config KASAN
	  See KASAN_SANITIZE_ALL for selectively compiling files and directories
	  with this compiler feature enabled.

config KASAN_SHADOW_OFFSET
	hex
	default 0xdffffc0000000000 if X86_64

choice
	prompt "Instrumentation type"
	depends on KASAN