From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755469AbcITQdR (ORCPT ); Tue, 20 Sep 2016 12:33:17 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:16748 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754132AbcITQdQ (ORCPT ); Tue, 20 Sep 2016 12:33:16 -0400 From: Eric Engestrom To: CC: Eric Engestrom , "Paul E. McKenney" , Josh Triplett Subject: [PATCH] rcu: add missing prototype Date: Tue, 20 Sep 2016 17:32:59 +0100 Message-ID: <20160920163259.5566-1-eric.engestrom@imgtec.com> X-Mailer: git-send-email 2.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.60.4.28] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org `make W=1` warns: kernel/rcu/tree.c:226:15: warning: no previous prototype for ‘rcu_rnp_online_cpus’ [-Wmissing-prototypes] unsigned long rcu_rnp_online_cpus(struct rcu_node *rnp) ^~~~~~~~~~~~~~~~~~~ Signed-off-by: Eric Engestrom --- I couldn't figure out how this list is ordered, I'm happy to move this line if you want :) --- kernel/rcu/tree.h | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/rcu/tree.h b/kernel/rcu/tree.h index f714f87..23be3dc 100644 --- a/kernel/rcu/tree.h +++ b/kernel/rcu/tree.h @@ -668,6 +668,7 @@ static void rcu_sysidle_init_percpu_data(struct rcu_dynticks *rdtp); static bool rcu_nohz_full_cpu(struct rcu_state *rsp); static void rcu_dynticks_task_enter(void); static void rcu_dynticks_task_exit(void); +static unsigned long rcu_rnp_online_cpus(struct rcu_node *rnp); #endif /* #ifndef RCU_TREE_NONCORE */ -- Cheers, Eric