From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC16FC55189 for ; Wed, 22 Apr 2020 10:08:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B329520780 for ; Wed, 22 Apr 2020 10:08:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587550089; bh=W5iQkxgtxVfawB7TEp41JwyAqy+uC8RmFSlbEstYjkI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=IqRD5BGYsFL/J9/39+zSQ4VsAn6v7Zk1Euzk6hLkunFdfB5cduhqxDv6Hrn3b7EcX is6/DDO6wDp6PaT9dRdkVtttuiJPBYt9vo6ME3uhHhzY/AT9mt6EysIOWQZtqITJYH XnAt0LpilmyPpao1bNtrMixH6n5XUCurMgbQsrNw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726442AbgDVKII (ORCPT ); Wed, 22 Apr 2020 06:08:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:32962 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728623AbgDVKIC (ORCPT ); Wed, 22 Apr 2020 06:08:02 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.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 6E7BC2077D; Wed, 22 Apr 2020 10:08:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587550081; bh=W5iQkxgtxVfawB7TEp41JwyAqy+uC8RmFSlbEstYjkI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=REgUMFKLtQ4FG65y3rRN7bv0sN3/7sHmMKnGNmoxXezubXbwJFNJUWzqRlWNrz0JP fAd0pIV3ZGEblsyds6LohCjCH347f0vqG8xCRZTTDXJ/ZcVSvA5Peh3QfIcwmg/rHl QHAQt6SxjlQxonFnG/0mdc3+Mcr/ij/8zkfD+iTs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Catalin Marinas , Nathan Chancellor Subject: [PATCH 4.9 101/125] arm64: cpu_errata: include required headers Date: Wed, 22 Apr 2020 11:56:58 +0200 Message-Id: <20200422095049.344784619@linuxfoundation.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200422095032.909124119@linuxfoundation.org> References: <20200422095032.909124119@linuxfoundation.org> User-Agent: quilt/0.66 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 From: Arnd Bergmann commit 94a5d8790e79ab78f499d2d9f1ff2cab63849d9f upstream. Without including psci.h and arm-smccc.h, we now get a build failure in some configurations: arch/arm64/kernel/cpu_errata.c: In function 'arm64_update_smccc_conduit': arch/arm64/kernel/cpu_errata.c:278:10: error: 'psci_ops' undeclared (first use in this function); did you mean 'sysfs_ops'? arch/arm64/kernel/cpu_errata.c: In function 'arm64_set_ssbd_mitigation': arch/arm64/kernel/cpu_errata.c:311:3: error: implicit declaration of function 'arm_smccc_1_1_hvc' [-Werror=implicit-function-declaration] arm_smccc_1_1_hvc(ARM_SMCCC_ARCH_WORKAROUND_2, state, NULL); Signed-off-by: Arnd Bergmann Signed-off-by: Catalin Marinas Signed-off-by: Nathan Chancellor Signed-off-by: Greg Kroah-Hartman --- arch/arm64/kernel/cpu_errata.c | 2 ++ 1 file changed, 2 insertions(+) --- a/arch/arm64/kernel/cpu_errata.c +++ b/arch/arm64/kernel/cpu_errata.c @@ -16,6 +16,8 @@ * along with this program. If not, see . */ +#include +#include #include #include #include