x86/fpu: Add CONFIG_X86_DEBUG_FPU=y FPU debugging code
[firefly-linux-kernel-4.4.55.git] / arch / x86 / Kconfig.debug
index 72484a645f056d1d7a8aa4182b07fc908c3b4162..2fd3ebbb4e334c49fb22d2aaf86a10ed1a9b9c4c 100644 (file)
@@ -332,4 +332,16 @@ config X86_DEBUG_STATIC_CPU_HAS
 
          If unsure, say N.
 
+config X86_DEBUG_FPU
+       bool "Debug the x86 FPU code"
+       depends on DEBUG_KERNEL
+       default y
+       ---help---
+         If this option is enabled then there will be extra sanity
+         checks and (boot time) debug printouts added to the kernel.
+         This debugging adds some small amount of runtime overhead
+         to the kernel.
+
+         If unsure, say N.
+
 endmenu