Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp2961980imm; Sun, 1 Jul 2018 09:13:43 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfAhOJYeZp7LiGPUCO8y91s6CfYNmEIL7UlrquRqUfEi2c7G7pvEJuVeFpYUPvIVoVuYnRv X-Received: by 2002:a62:569c:: with SMTP id h28-v6mr18065801pfj.201.1530461623858; Sun, 01 Jul 2018 09:13:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530461623; cv=none; d=google.com; s=arc-20160816; b=0tyxcEorF03WP4tfU08SVfzIsZZFL6dn9foPnbK0LaklwP7OkDHAmBfj7RO96iDLUQ EwiRiWP+7o7HQs478oc8ORldmQx9Wou5+W+tJ9sjh1Ep40mjYY76/lY0admpL8FssNp1 D+P07LKSn5vIfbtuz2IxR/RtJzOG47T0HApfbUZAnlU4Ed7wQOcAyX/f9Hq7GruBHZQx 0OKAbhtAHhuD+ENxcKKnYttsoMlzJSHef+ypbSm3RcFqY07JC3ruYXnGPF7Xzk38OmR3 mm+KIL7qI47hVws5h/Jt2ome5T+BM5U0K25W3w4OKL0Tk+NaBxlLevW3OrtPOWcKHUEH 5fyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=c/1jQ6IR62Hxs8qMyPZaRHTcQZs30bXPQaqDgmIxa44=; b=Ngj8lDbmK95pvCckf3bpgz7h/rEWC4X35nm54PbGz7xOhq+SGgdlY6sQiDToj00Uho FeKum/A3ege3X5F3NDOncpuIHQecjXQV2c18K5FV0g6aQ8VXrAHrpJw7Nr5RirI3C5IB ovPIUqLiiQqNk7ZUqBomV7YH6VTT4gip6GFi/qTXQKr8boqY02VMMiJrFvw+SehjqUC8 7C1FLzmOJ7kSfaGGncKl0LBHfq+HzkubIo+VKy4p+GVp/OxXNnOMyEsc4VepfAsDpZxy TvjqqrKzHv4K+5+evMLsynSoOPUlQlfl06WFRNaJYv6G/CxGegI8WubzDn91R4d/cX7d 3VOA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o81-v6si14114948pfj.350.2018.07.01.09.13.29; Sun, 01 Jul 2018 09:13:43 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753020AbeGAQMX (ORCPT + 99 others); Sun, 1 Jul 2018 12:12:23 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:59918 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752452AbeGAQMT (ORCPT ); Sun, 1 Jul 2018 12:12:19 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 294D94A3; Sun, 1 Jul 2018 16:12:19 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Helge Deller , Sasha Levin Subject: [PATCH 3.18 35/85] parisc: Move setup_profiling_timer() out of init section Date: Sun, 1 Jul 2018 18:01:53 +0200 Message-Id: <20180701153123.756542422@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180701153122.365061142@linuxfoundation.org> References: <20180701153122.365061142@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Helge Deller [ Upstream commit 01f56832cfb6fcc204e7203f46841b6185ebd574 ] No other architecture has setup_profiling_timer() in the init section, thus on parisc we face this section mismatch warning: Reference from the function devm_device_add_group() to the function .init.text:setup_profiling_timer() Signed-off-by: Helge Deller Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- arch/parisc/kernel/smp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/arch/parisc/kernel/smp.c +++ b/arch/parisc/kernel/smp.c @@ -422,8 +422,7 @@ int __cpu_up(unsigned int cpu, struct ta } #ifdef CONFIG_PROC_FS -int __init -setup_profiling_timer(unsigned int multiplier) +int setup_profiling_timer(unsigned int multiplier) { return -EINVAL; }