Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2550343imu; Thu, 29 Nov 2018 06:45:46 -0800 (PST) X-Google-Smtp-Source: AFSGD/WvpJ6M2t3u79DNeqamjAupl9oX5Ykj6rNiucx7meFC5jVjf+1nmP2PkljurkkG8SuUT86l X-Received: by 2002:a63:8742:: with SMTP id i63mr1460769pge.298.1543502746913; Thu, 29 Nov 2018 06:45:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543502746; cv=none; d=google.com; s=arc-20160816; b=T047sMxxK/9Vm2tz68gWWq1mCT7vk44j+F/Es4G/XLd9o7v6WWqAB+mq6Vvf9uYzXk 1q1rfaNzHC4I8A/nauYOKUVI7TNVe2C6G2RuuGozj01giwaDkV/wev6d3Jp9sDFzIBMw 7JCYlPz2QxT6Okenmny92Q3Uqg80Mae9/DAaFiR1I4NzH3sHV7TqYd4e68pwAXtYixGY 5MjdPXqVnxSE+w/Qhpgc+NJ5kDCd8D1GJNyRvbtWIgfWeYPKwFgoe+WjkMDKc6jF+u62 iBfgPQ+g6PBRIRudWIZBqeOvAGi9EuvYZjz0drFRHNYdOeNwz5ad9sQEEzb/lM3OCSPT TsRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=FZnsjr9u8SVPvbr8mzpxi4kw6wpiOohosw3pXlS1mto=; b=NnfXicv2Icuy/r4WUbq39ctPPAQHr37ojPNTm2UJWzMc7rqn/YKaZbZNo4BTSXGNPY 4bpsYhsIA5CqDRxagRFKWtZn5akC3gpzVPwge9aMP461y7uKc6ZOBJpb14VVjIpW8jeB e0Q92GA4AWo0/5A8iaKGZnuoBvWXKHYEchxsBEB2aUOV5xKfTdDIKfpZ62sb5CNPjavz Lz1ZteRauKD58lG1YgGcmV+KAYfkugr3vQD7FuivS7GOQW3/XZwIs1FBrtgHeSEbK/CX fEbxpY2PE+wLuugRrMuXqjbMwhdcRYp1P+mE0TrmF3wfXNN3VM1rMis1CK4YS2w4yOqv /AfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qTVQ+mSc; 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 b1si2456437plc.332.2018.11.29.06.45.31; Thu, 29 Nov 2018 06:45:46 -0800 (PST) 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=@kernel.org header.s=default header.b=qTVQ+mSc; 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 S2387784AbeK3BdM (ORCPT + 99 others); Thu, 29 Nov 2018 20:33:12 -0500 Received: from mail.kernel.org ([198.145.29.99]:33672 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731824AbeK3BdL (ORCPT ); Thu, 29 Nov 2018 20:33:11 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D93C22146F; Thu, 29 Nov 2018 14:27:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543501659; bh=Lb+88RKxRK4YVxAaPIUMAW6i4F8kIYosFp03luBs9Nk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qTVQ+mSccPXlkmJUhn9TWPDZRmpIQanbeApE+7tx5jRUgZaQTgjEQU9zsZ7Jjhw/g KCgu8k1WUVUMWTKQNmaPoTCYwl4pUa7Avf80r29Ly37QmtlQZgf3EMaa32wsjZd1gp NjXt+OdYqMw7W5jRcUukGApjwrbTSs2dvG9XzCJY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Julien Thierry , Russell King , Sasha Levin Subject: [PATCH 4.14 055/100] ARM: clean up per-processor check_bugs method call Date: Thu, 29 Nov 2018 15:12:25 +0100 Message-Id: <20181129140103.911092281@linuxfoundation.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181129140058.768942700@linuxfoundation.org> References: <20181129140058.768942700@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit 945aceb1db8885d3a35790cf2e810f681db52756 ] Call the per-processor type check_bugs() method in the same way as we do other per-processor functions - move the "processor." detail into proc-fns.h. Reviewed-by: Julien Thierry Signed-off-by: Russell King Signed-off-by: Sasha Levin --- arch/arm/include/asm/proc-fns.h | 1 + arch/arm/kernel/bugs.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/asm/proc-fns.h b/arch/arm/include/asm/proc-fns.h index e25f4392e1b2..30c499146320 100644 --- a/arch/arm/include/asm/proc-fns.h +++ b/arch/arm/include/asm/proc-fns.h @@ -99,6 +99,7 @@ extern void cpu_do_suspend(void *); extern void cpu_do_resume(void *); #else #define cpu_proc_init processor._proc_init +#define cpu_check_bugs processor.check_bugs #define cpu_proc_fin processor._proc_fin #define cpu_reset processor.reset #define cpu_do_idle processor._do_idle diff --git a/arch/arm/kernel/bugs.c b/arch/arm/kernel/bugs.c index 7be511310191..d41d3598e5e5 100644 --- a/arch/arm/kernel/bugs.c +++ b/arch/arm/kernel/bugs.c @@ -6,8 +6,8 @@ void check_other_bugs(void) { #ifdef MULTI_CPU - if (processor.check_bugs) - processor.check_bugs(); + if (cpu_check_bugs) + cpu_check_bugs(); #endif } -- 2.17.1