Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1625695ybh; Fri, 13 Mar 2020 04:40:00 -0700 (PDT) X-Google-Smtp-Source: ADFU+vv3PzKRMzJM1/z2qDNsHx3uqKEVkVJPpL5RLZECE57iWiouqYBnjNvRVuAUXwNqg7s/Tg3f X-Received: by 2002:aca:ebca:: with SMTP id j193mr6332698oih.124.1584099600436; Fri, 13 Mar 2020 04:40:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584099600; cv=none; d=google.com; s=arc-20160816; b=DkPw1tQZ6scgv5dQ9JneJUhCu4iq8fLosXDjwE2FLu01C0PxNQgJYvyJAlf3gQFjfX IjuwaXYovEhLMQDDBnswQiyzKA0C5zkymwOZnwuzJNFWTVsPRCEEdcIElp3we2usr/Ab spLWVvxDRO5gIN9idA5bwrlFwNm0pwpKwap8Ap/oYHbLxAE7PL/JQiSfDJAsxpQsf5BY wuPHJ5hY7HiA40XGCUlxHclQ8jpsdUQHR/3I6Q3azz8rP/MVlaSuCNlrmVEHG3yCF5ls fysAFT81B3mtqnb5o06z4hsIAya+4o6OwlX7YiclHotuR0rl1vsHLFgJx46vd2IwwQhq cmIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=ACCT/yAEbIU04yqe8VXHom7r1pDUJ/Q1TtIR8BaFHv0=; b=f7mn/WZgOdQMi1O0fLjS++kTtJsD9fwkiZyaDOBp00Nk2VgJr8h+i3R6VhnjWYvJvA HTz5W0mNDKF8fco8Ljj2srhH9bTcPm9745J2yylFFKLlj1Fy+t8XP/O4btxjh4fXkeII TWXO2zEq0aMSFpkbSDCivuQLeW6nsYzHcd7f5WNpmBlfOT4lqXuDeGKoUjYrDicwdU1o u+V0dujZ8wL/J2VEsscNBxq0U23q7lEGNYpBAxcM+xrQ+UJZkbeGPrqGzMCxiSUODrF5 KlqFeo3z2EQ2M9O228AjuMSmM0AdWgQg5pzud1gYD/D9GTQupnMUKu1SiuJ0tIPm/n7G +qSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dI9nuEyi; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j1si4322232otp.148.2020.03.13.04.39.48; Fri, 13 Mar 2020 04:40:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dI9nuEyi; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726550AbgCMLiQ (ORCPT + 99 others); Fri, 13 Mar 2020 07:38:16 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:42359 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726491AbgCMLiQ (ORCPT ); Fri, 13 Mar 2020 07:38:16 -0400 Received: by mail-pl1-f194.google.com with SMTP id t3so4120378plz.9; Fri, 13 Mar 2020 04:38:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=ACCT/yAEbIU04yqe8VXHom7r1pDUJ/Q1TtIR8BaFHv0=; b=dI9nuEyiKfwXRX2jC48koOIuRspfd95Nqgzu/6b9h5lCDmc46xPFM98pK0R3Yp35iO y9tLJDh7zlBpOJ0hr8VrnJZ+wdM13bDNH053cUTjG5pdkDWX/ikoFVjnv2ochrNtHZRL XMc1Ei8Ejj5AsvZeDhiSkx5B6nVqD1pnlPqQzYxKFO+CpWuLe/Bl4qutXBqr1yDYrhnB kEoyPNHGkDMT4fxylCIvLbXX9ER3CVhhq/9B4jeM8fIcQRkEyl3LytsdOJV7dLFZ3vpI 9Ad6JmarxShP6Almiwb3FWKusWCRE9CThAIByChY4CsdMbxjBNIpKKjB62UjrmC8PKAn j22g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ACCT/yAEbIU04yqe8VXHom7r1pDUJ/Q1TtIR8BaFHv0=; b=dc1aT8FOodeILj4/lmbBeUjFgUpzfHjVvUrJT1xZaSY8QKtb8LQ5dNbybNWGpiODfW HQ+920s9hFn/HZXzLujOdmY7jOGiofu0453G22frWWgk38/rXMEu/EGZoVlURfkXRsNb m+dMI8+ILZEgCRvieFAk35wwX8UocmQ4JYIPOE0KY88AI2E0l5jDv3HcqL9m4T9lDxBC 0fdYXFu2AyGvIZiZBWajRVYmiRH8IeuGcRn4koWhB845FNGe+E7GpRFmRMTMQt52qY0c 4mzDGLHJlvIKgxDwfG2ni48QvP1qpzhqPu5TokxQOCPLp7jP9xmUlteUejO1S+TSnvvk ezpg== X-Gm-Message-State: ANhLgQ22K5sxQuKlbL3dcJtAnrPZr3xzvDHQ35GN9oT8sYXu6efZ1Sil Xw1XT83VWsR6kQN6ODfJ5xA= X-Received: by 2002:a17:902:868d:: with SMTP id g13mr13154575plo.36.1584099494918; Fri, 13 Mar 2020 04:38:14 -0700 (PDT) Received: from localhost ([161.117.239.120]) by smtp.gmail.com with ESMTPSA id v133sm47423715pfc.68.2020.03.13.04.38.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Mar 2020 04:38:14 -0700 (PDT) From: Qiujun Huang To: paulmck@kernel.org Cc: josh@joshtriplett.org, rostedt@goodmis.org, mathieu.desnoyers@efficios.com, jiangshanlai@gmail.com, joel@joelfernandes.org, rcu@vger.kernel.org, linux-kernel@vger.kernel.org, Qiujun Huang Subject: [PATCH -next] rcu-tasks: fix a modpost warning for rcu_tasks_rude_wait_gp Date: Fri, 13 Mar 2020 19:38:10 +0800 Message-Id: <20200313113810.3840-1-hqjagain@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Found by gcc: WARNING: modpost: "rcu_tasks_rude_wait_gp" [vmlinux] is a static EXPORT_SYMBOL_GPL Signed-off-by: Qiujun Huang --- kernel/rcu/tasks.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/rcu/tasks.h b/kernel/rcu/tasks.h index cd071b5d4274..04d3c583a9fc 100644 --- a/kernel/rcu/tasks.h +++ b/kernel/rcu/tasks.h @@ -447,7 +447,7 @@ static void rcu_tasks_be_rude(struct work_struct *work) } // Wait for one rude RCU-tasks grace period. -static void rcu_tasks_rude_wait_gp(struct rcu_tasks *rtp) +void rcu_tasks_rude_wait_gp(struct rcu_tasks *rtp) { schedule_on_each_cpu(rcu_tasks_be_rude); } -- 2.17.1