]> git.baikalelectronics.ru Git - kernel.git/commitdiff
exit: Stop exporting do_exit
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 22 Nov 2021 16:01:59 +0000 (10:01 -0600)
committerEric W. Biederman <ebiederm@xmission.com>
Mon, 13 Dec 2021 18:04:45 +0000 (12:04 -0600)
Now that there are no more modular uses of do_exit remove the EXPORT_SYMBOL.

Suggested-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
kernel/exit.c

index f975cd8a2ed821302d904a82814a72f01f610ff9..57afac845a0ac9278f6428a2cc2aaf824f196482 100644 (file)
@@ -843,7 +843,6 @@ void __noreturn do_exit(long code)
        lockdep_free_task(tsk);
        do_task_dead();
 }
-EXPORT_SYMBOL_GPL(do_exit);
 
 void __noreturn make_task_dead(int signr)
 {