kasan: default to inline instrumentation
[linux-2.6-block.git] / lib / Kconfig.kasan
index fdca89c057452e7715a21316a1d3b763a525d785..935eda08b1e1efd89ef2b65b2ba0ab2f8ab4a889 100644 (file)
@@ -134,7 +134,7 @@ endchoice
 choice
        prompt "Instrumentation type"
        depends on KASAN_GENERIC || KASAN_SW_TAGS
-       default KASAN_OUTLINE
+       default KASAN_INLINE if !ARCH_DISABLE_KASAN_INLINE
 
 config KASAN_OUTLINE
        bool "Outline instrumentation"