aboutsummaryrefslogtreecommitdiffstats
path: root/mm/kmemleak.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/kmemleak.c')
-rw-r--r--mm/kmemleak.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/kmemleak.c b/mm/kmemleak.c
index ffd162abbe5e..39da954b5059 100644
--- a/mm/kmemleak.c
+++ b/mm/kmemleak.c
@@ -1287,7 +1287,7 @@ static int kmemleak_scan_thread(void *arg)
1287 * Start the automatic memory scanning thread. This function must be called 1287 * Start the automatic memory scanning thread. This function must be called
1288 * with the scan_mutex held. 1288 * with the scan_mutex held.
1289 */ 1289 */
1290void start_scan_thread(void) 1290static void start_scan_thread(void)
1291{ 1291{
1292 if (scan_thread) 1292 if (scan_thread)
1293 return; 1293 return;
@@ -1302,7 +1302,7 @@ void start_scan_thread(void)
1302 * Stop the automatic memory scanning thread. This function must be called 1302 * Stop the automatic memory scanning thread. This function must be called
1303 * with the scan_mutex held. 1303 * with the scan_mutex held.
1304 */ 1304 */
1305void stop_scan_thread(void) 1305static void stop_scan_thread(void)
1306{ 1306{
1307 if (scan_thread) { 1307 if (scan_thread) {
1308 kthread_stop(scan_thread); 1308 kthread_stop(scan_thread);