From: Eric W. Biederman Date: Mon, 22 Nov 2021 16:01:59 +0000 (-0600) Subject: exit: Stop exporting do_exit X-Git-Tag: baikal/aarch64/sdk6.1~4863^2~36 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=61979b89f265f328e8d8adf9b3496d4d243b9962;p=kernel.git exit: Stop exporting do_exit Now that there are no more modular uses of do_exit remove the EXPORT_SYMBOL. Suggested-by: Christoph Hellwig Signed-off-by: "Eric W. Biederman" --- diff --git a/kernel/exit.c b/kernel/exit.c index f975cd8a2ed82..57afac845a0ac 100644 --- a/kernel/exit.c +++ b/kernel/exit.c @@ -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) {