Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp591328pxb; Wed, 27 Jan 2021 16:04:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJwyn9YsAMh/W2KSDdAgLLti8nbmEF2VoRzq6x4bdsoj24jlnbSr4uYVauyVHHYSfqUeeZf/ X-Received: by 2002:a05:6402:d05:: with SMTP id eb5mr11057533edb.143.1611792294463; Wed, 27 Jan 2021 16:04:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611792294; cv=none; d=google.com; s=arc-20160816; b=t+HN8WDPMr6fntKHvFN8eASng2HSLZHEHcIkcYbCz79cJpwIXpeFDx7OMKL+b5STjb X0+oP6CxTkaDIHdgiPMAXeJeDkwFg2WcObEgr+neHogjOgMVEDhiooKbavBfgLwIDPbi c9veIjPJa0cYXpIB6hQ3utl5wNapLxSeHNvyZnj2HKfWH+Ddaf79mKDqZn4FbVrS8oBa yg0iOBb1q4m6zk6QUsv75ke1hFJ6KhjKW2eC29krSeGNb0AJeI+ZS69tCN4K8Yrcvsk9 cmIFczyV3Tp8DZirJhF37JmWeSMEuVkPPhb4wkpx0Ptt+4bCYeJmt8iHBp/SO3tP0WFZ Yo6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:cms-type:content-transfer-encoding :mime-version:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=qDFCbUu7mCmhIQNv7XiLqxaYQTf9AOTX3utazaqJrYM=; b=Fx1lpUrALt01QjPFfK5bMjKdCaNPJWlVHpsPCJjQEceg73/zmHKsSuPkr3MaSXPuU9 sGEaSwYj91FVoygFVqFwlD5rJaMom3aW7ifIJ4A4Wkg5TQ0iRGKitCGUHG5E15PBT2VM JkS2UYzyHrDIA/s6gQvjSJ4VkuFUDRkq0u6KDRYSXYZFM2qNHOVZoVzULvnWuaCFda1y LK0wc+4Mq07rGQmYRyY4+ya4BMVsngrzu98B7mR+9FxTd+SxKeTQ/TshrcdoBrpnobte Mc/ijFMyQKM3AAfOpuP64D4Goy/nOYu8RUF0m6WeDsn6ve2kDVFivL2BER3+98m4C53e Ad9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=hGS0kR++; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l17si1464335eja.449.2021.01.27.16.04.30; Wed, 27 Jan 2021 16:04:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=hGS0kR++; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235401AbhA0P70 (ORCPT + 99 others); Wed, 27 Jan 2021 10:59:26 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:18789 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235414AbhA0PCj (ORCPT ); Wed, 27 Jan 2021 10:02:39 -0500 Received: from epcas5p1.samsung.com (unknown [182.195.41.39]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20210127150145epoutp02e1c674df1487c7ebbf765ebd983c6f44~eHum2REab0176701767epoutp02c for ; Wed, 27 Jan 2021 15:01:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20210127150145epoutp02e1c674df1487c7ebbf765ebd983c6f44~eHum2REab0176701767epoutp02c DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1611759705; bh=qDFCbUu7mCmhIQNv7XiLqxaYQTf9AOTX3utazaqJrYM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hGS0kR++QZe4O1Zq1hNZRXrX1OilDFr/+pycsQlZhe+PxwmWevtYCTtAvULekJafC 5luLqsV34ZQACY5M/XauTl2XIi4bg6cThlOfRkJrJSPHIMG2QegbJAtH0KwBG2f3OW tM0gXrCrLT74l/79yGXy4V2dHYpTVb8NB+iZPa/Y= Received: from epsmges5p2new.samsung.com (unknown [182.195.42.74]) by epcas5p3.samsung.com (KnoxPortal) with ESMTP id 20210127150145epcas5p38b2fbd59dddcb8a6d91326fd5b74ce9a~eHumRu10w0898508985epcas5p3Z; Wed, 27 Jan 2021 15:01:45 +0000 (GMT) Received: from epcas5p1.samsung.com ( [182.195.41.39]) by epsmges5p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 7F.F8.50652.95081106; Thu, 28 Jan 2021 00:01:45 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20210127150144epcas5p29ccb35d7e7170aba7947b5ee16fd2db0~eHulPqUp80627206272epcas5p2I; Wed, 27 Jan 2021 15:01:44 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20210127150144epsmtrp12f6e3f4430a280ee7acb8444459c6b28~eHulOzQAq0033500335epsmtrp1o; Wed, 27 Jan 2021 15:01:44 +0000 (GMT) X-AuditID: b6c32a4a-6b3ff7000000c5dc-98-60118059bdc0 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id CD.05.13470.75081106; Thu, 28 Jan 2021 00:01:43 +0900 (KST) Received: from localhost.localdomain (unknown [107.110.206.5]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20210127150141epsmtip22609fef0295d7e19992f935dc198e3c3~eHujKTNWv2088420884epsmtip2M; Wed, 27 Jan 2021 15:01:41 +0000 (GMT) From: Kanchan Joshi To: axboe@kernel.dk, kbusch@kernel.org, hch@lst.de, sagi@grimberg.me Cc: linux-nvme@lists.infradead.org, io-uring@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, javier.gonz@samsung.com, nj.shetty@samsung.com, selvakuma.s1@samsung.com, Kanchan Joshi Subject: [RFC PATCH 2/4] kernel: export task_work_add Date: Wed, 27 Jan 2021 20:30:27 +0530 Message-Id: <20210127150029.13766-3-joshi.k@samsung.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210127150029.13766-1-joshi.k@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrMKsWRmVeSWpSXmKPExsWy7bCmum5kg2CCwbnnLBa/p09htVh9t5/N YuXqo0wW71rPsVg8vvOZ3eLo/7dsFpMOXWO02LP3JIvF5V1z2CzmL3vKbrHt93xmiytTFjFb rHv9nsXi9Y+TbA58HufvbWTxuHy21GPTqk42j81L6j1232xg8+jbsorR4/MmuQD2KC6blNSc zLLUIn27BK6Ml4vXsBccYa040LqEuYHxOEsXIyeHhICJxKrt39hBbCGB3YwSjWcMIexPjBKP p3F3MXIB2d8YJTbef84I03DjQQsrRGIvo8SVa1+gnM+MEkd63wON5eBgE9CUuDC5FKRBRMBF 4sLvA+wgNcwC7xglzt/bAjZJWMBUYtbpDjCbRUBV4vj500wgNq+AhcScH9vZILbJS8y89B3s PE4BS4kr2zaxQtQISpyc+QTsBWagmuats5lBFkgIrOSQODFxAtRvLhKnb0xghbCFJV4d38IO YUtJvOxvg7KLJX7dOQrV3MEocb1hJlSzvcTFPX+ZQL5hBvpm/S59iGV8Er2/n4CFJQR4JTra hCCqFSXuTXoKtUpc4uGMJVC2h8SqKUdYIAHUwyix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R2M21d90DvEyMTBeIhRgoNZSYTXTkEwQYg3JbGyKrUoP76oNCe1+BCj NAeLkjjvha6T8UIC6YklqdmpqQWpRTBZJg5OqQam49ppVx/bRb5XXlqZLV+cb734WUqHGWfw 6vCnG+JW/9OYJeBokP/CrrF727vU79eTWRovpk0/eONun+TvuCVrmg6qL/97TbrmWc7khR7F f7LbXTnevQ/al7n8RkZBhoTZH1XL/VxPWV55L8lZmr+2YGftuT9NFXscLN7v9Fu3gPWMs9DV fyx7rS5OKX+Q/K3fxGL2jKOn7b1fvitxWNHmXX6asVrOz8D93L/TKWw5y36ueZ9X/l7U8fn1 iQFChv9elK00ar12OnvX/Jcv66esZrS4wSLnxPx6fvFrz42rRaM3HQ4WiX78t/HPDNstToKu yrt0P75Sfu923S7/9IYPGScFfQz3ZTCZbpaf/8+FSYmlOCPRUIu5qDgRACIMJm4EAwAA X-CMS-MailID: 20210127150144epcas5p29ccb35d7e7170aba7947b5ee16fd2db0 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" CMS-TYPE: 105P X-CMS-RootMailID: 20210127150144epcas5p29ccb35d7e7170aba7947b5ee16fd2db0 References: <20210127150029.13766-1-joshi.k@samsung.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Task-work infra is required to introduce async-ioctl in nvme driver. Without this being exported, NVMe needs to be built statically. Signed-off-by: Kanchan Joshi --- kernel/task_work.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/task_work.c b/kernel/task_work.c index 9cde961875c0..3cf413c89639 100644 --- a/kernel/task_work.c +++ b/kernel/task_work.c @@ -57,7 +57,7 @@ int task_work_add(struct task_struct *task, struct callback_head *work, return 0; } - +EXPORT_SYMBOL(task_work_add); /** * task_work_cancel - cancel a pending work added by task_work_add() * @task: the task which should execute the work -- 2.25.1