[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YSObkFQEPY3f1XKE@infradead.org>
Date: Mon, 23 Aug 2021 13:58:56 +0100
From: Christoph Hellwig <hch@...radead.org>
To: Ritesh Harjani <riteshh@...ux.ibm.com>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org,
Dennis Zhou <dennis@...nel.org>, Tejun Heo <tj@...nel.org>,
Christoph Lameter <cl@...ux.com>
Subject: Re: [PATCH 1/2] kernel/workqueue: Make schedule_on_each_cpu as
EXPORT_SYMBOL
On Mon, Aug 23, 2021 at 03:37:45PM +0530, Ritesh Harjani wrote:
> Make schedule_on_each_cpu as EXPORT_SYMBOL.
>
> Signed-off-by: Ritesh Harjani <riteshh@...ux.ibm.com>
> ---
> kernel/workqueue.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/kernel/workqueue.c b/kernel/workqueue.c
> index f148eacda55a..6f15e4afbf38 100644
> --- a/kernel/workqueue.c
> +++ b/kernel/workqueue.c
> @@ -3309,6 +3309,7 @@ int schedule_on_each_cpu(work_func_t func)
> free_percpu(works);
> return 0;
> }
> +EXPORT_SYMBOL(schedule_on_each_cpu);
Please don't export random bits just for a test. Especially non without
an EXPORT_SYMBOL_GPL.
Powered by blists - more mailing lists