diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig.debug | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index c7f567a57d7d..c66b7b400c9f 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -424,6 +424,13 @@ config FAILSLAB | |||
424 | help | 424 | help |
425 | This option provides fault-injection capabilitiy for kmalloc. | 425 | This option provides fault-injection capabilitiy for kmalloc. |
426 | 426 | ||
427 | config FAIL_PAGE_ALLOC | ||
428 | bool "Fault-injection capabilitiy for alloc_pages()" | ||
429 | depends on DEBUG_KERNEL | ||
430 | select FAULT_INJECTION | ||
431 | help | ||
432 | This option provides fault-injection capabilitiy for alloc_pages(). | ||
433 | |||
427 | config FAULT_INJECTION_DEBUG_FS | 434 | config FAULT_INJECTION_DEBUG_FS |
428 | bool "Debugfs entries for fault-injection capabilities" | 435 | bool "Debugfs entries for fault-injection capabilities" |
429 | depends on FAULT_INJECTION && SYSFS | 436 | depends on FAULT_INJECTION && SYSFS |