[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1488287219-15832-3-git-send-email-geert@linux-m68k.org>
Date: Tue, 28 Feb 2017 14:06:58 +0100
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Arnd Bergmann <arnd@...db.de>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Paul Gortmaker <paul.gortmaker@...driver.com>,
Shuah Khan <shuah@...nel.org>, linux-kernel@...r.kernel.org,
Geert Uytterhoeven <geert@...ux-m68k.org>
Subject: [PATCH 2/3] lib: add module support to array-based sort tests
Allow to compile the array-based sort test code either to a loadable
module, or builtin into the kernel.
Signed-off-by: Geert Uytterhoeven <geert@...ux-m68k.org>
---
lib/Kconfig.debug | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 55735c9bdb75a23e..90b2348777495b72 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1740,10 +1740,11 @@ config TEST_LIST_SORT
If unsure, say N.
config TEST_SORT
- bool "Array-based sort test"
- depends on DEBUG_KERNEL
+ tristate "Array-based sort test"
+ depends on DEBUG_KERNEL || m
help
- This option enables the self-test function of 'sort()' at boot.
+ This option enables the self-test function of 'sort()' at boot,
+ or at module load time.
If unsure, say N.
--
2.7.4
Powered by blists - more mailing lists