Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2428207imj; Mon, 18 Feb 2019 05:57:02 -0800 (PST) X-Google-Smtp-Source: AHgI3IbSY17hLNS81myCNBPb8SIHk7OCJvODXCB4EGATdXI00TdIRvYvKrOxGR8yw6L4IFyAs6/7 X-Received: by 2002:a17:902:b101:: with SMTP id q1mr25482239plr.135.1550498222271; Mon, 18 Feb 2019 05:57:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550498222; cv=none; d=google.com; s=arc-20160816; b=IivwR00cXLwPyCqHtMvCyHCZi9PnR5dyJsG/BmmMh0hZurckNYaQ1kaCbvYj9j1Ah0 hJMynGn1Exc7GH+y5Jh2FkhTmJ2f4SG/Z2YsvVcia3lwj5HLe0OmsQM73HUUrf8RoRmY YM1QMuu4/mVI0DIX6TbEG4d59tOGIIiuwed34EOakbH3+bsoVfFrKPKtCq16zMNoc4bs ubeYxQiZr1Ug56sxqna2B/Shov8mp4BInD1lXw2aiLqNU2/5IHevjDHM0rLTj8lgJX+C NHpKTNOEPHPgN2Brk1NKhDHh5g4cI/ajBFRfzodJlAeBIb1q50DnYMg4ot/IdLryINQ2 yfkA== 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=9hnKWbhFlUsRblIQqx4hIO3LnpnGXqYJaHEmJ8Ny6ms=; b=rLvinj2jJX6OUGu++5yx5FV/kMyT9YNusq8Q0Y4gw8ZWG728Necw4v+RhE7wVKN7ri n5kn5iPT5rxWm027tahQdNLMEDy7wziosoNQzkPdfsB6jb9vcYWaap0/EFz97j02wEqS ztq6WqJl99VDVmXtoH9rxDxylNmNMNFUrQZoElOavLovCfwpUyHQ2jrOtlTIiZwZQBdt Q64FDFmPQw3B+QYlYWrUL15eJ7Ev9BmdzbBAliVFL7l2OcoeIRK+prf0cITcuRRGiCkL A0N33xI4gVIN5G62vlTtVO5fP4vUvdIa5TM4CQNH+ByRWTaGQglbmTOEe6WaTOeTMywb GY5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Q8aGw6Yd; 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 l7si14728390plb.366.2019.02.18.05.56.46; Mon, 18 Feb 2019 05:57:02 -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=Q8aGw6Yd; 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 S1733260AbfBRNym (ORCPT + 99 others); Mon, 18 Feb 2019 08:54:42 -0500 Received: from mail.kernel.org ([198.145.29.99]:34606 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733216AbfBRNyk (ORCPT ); Mon, 18 Feb 2019 08:54:40 -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 4D7F920842; Mon, 18 Feb 2019 13:54:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550498079; bh=sTNxp+XU4vydFopXz5QW6S6pV9JTnVUXG0aka+ybXWY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Q8aGw6YdnJAUX0C9EUHr76LqMz87SGJWjPVbP02+OucTfv6UmmSrekW8AaJPa7/WC zdBCMChfqH7R5WdhqAfmvmgH3maditX0kBLGyjtXh97wORPhGBHRD2WSfPBYcSxGVI Wc+XWe+irIQP9Xv8tjUG6m2C3gGRVuZ+BW144/XM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Julien Thierry , Russell King , "David A. Long" , Sasha Levin Subject: [PATCH 4.14 17/62] ARM: clean up per-processor check_bugs method call Date: Mon, 18 Feb 2019 14:43:23 +0100 Message-Id: <20190218133507.316944914@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190218133505.801423074@linuxfoundation.org> References: <20190218133505.801423074@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore 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. ------------------ Commit 945aceb1db8885d3a35790cf2e810f681db52756 upstream. 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: David A. Long Reviewed-by: Julien Thierry Tested-by: Julien Thierry 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.19.1