|
@@ -1287,7 +1287,7 @@ static int kmemleak_scan_thread(void *arg)
|
|
|
* Start the automatic memory scanning thread. This function must be called
|
|
|
* with the scan_mutex held.
|
|
|
*/
|
|
|
-void start_scan_thread(void)
|
|
|
+static void start_scan_thread(void)
|
|
|
{
|
|
|
if (scan_thread)
|
|
|
return;
|
|
@@ -1302,7 +1302,7 @@ void start_scan_thread(void)
|
|
|
* Stop the automatic memory scanning thread. This function must be called
|
|
|
* with the scan_mutex held.
|
|
|
*/
|
|
|
-void stop_scan_thread(void)
|
|
|
+static void stop_scan_thread(void)
|
|
|
{
|
|
|
if (scan_thread) {
|
|
|
kthread_stop(scan_thread);
|