From patchwork Tue Jun 5 11:50:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 137718 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp858955lji; Tue, 5 Jun 2018 04:52:53 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIPrsa7+F0ZxXadKVYS/X1vhBwFpMbSkdidImsBtLQid8lLQEx0uRBjQV9gP2FJPqwds1A7 X-Received: by 2002:a62:6406:: with SMTP id y6-v6mr21308604pfb.204.1528199573766; Tue, 05 Jun 2018 04:52:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528199573; cv=none; d=google.com; s=arc-20160816; b=w0VLLftrWNoeqyKdlYQa7wZ6RDbsUvwMKRxcce5Q9L3HtwAR0fwSXQ7KE9yhA3enZ7 hdfJaNSibV5YNp4BHnCHo8cF1bAFmijWrFxBysF08VL4hAycqt1L+Z8E8sKyuTXu9/k0 AYgIpRp5Knzn4A42+PyaAk51QAEOD9QyEVPjgLB9QFInSX9hvg2n2XF2fvJ+jn5FhXLZ U+YvJ69F4oFsr5qBNjwFICjgKn0s6/a2TRslMJf3ZMQ1A5/P9PauqpsyJe8kNT6ar5Rd eRuP/kW7v4cxefYe7TkqGCuWbYuvzcqW8N3G3cODGrbokj1thh0tpo22skPlDclY+Cx2 h8rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=n7jcldUjS068imRg6yDv+1PAM3NYonSSijp4MiltJU8=; b=PUYhz6vylItNQuYhZc6k+1QblNn/6Th5qZHSZkQeNC0qSrZwzgUO/48IQ05HYGn3Km fa1MSRt82/1pSC03E2UZW08NS4qYT25ZDafB1vGZKvpwC03nlfRujNIznghv9mJLCqIJ vuSOHj9XSpc+kyiabT+/nJzNy+jy90aXVR8L+4DEiWcZa8UQ9tQ3c4JPloLLo4TjMdi8 VoB+i+5Hx4u9j2Yw3mufZnlqHaV0GdxW3ziS6GItTIYJ+tStgfvIrzwipLek9fZZzObm fBj/yyXsall1IcuzV8jzMvsH7msWD+rCVplru038IJ1w+F+xGaQXSCj7B8Al56l9j1Kq Pd9A== 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 o184-v6si1895544pga.92.2018.06.05.04.52.53; Tue, 05 Jun 2018 04:52:53 -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 S1751674AbeFELwu (ORCPT + 30 others); Tue, 5 Jun 2018 07:52:50 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:52239 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751502AbeFELwt (ORCPT ); Tue, 5 Jun 2018 07:52:49 -0400 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue101 [212.227.15.145]) with ESMTPA (Nemesis) id 0M09nw-1gI86j0wOK-00uFmb; Tue, 05 Jun 2018 13:52:29 +0200 From: Arnd Bergmann To: Catalin Marinas , Will Deacon Cc: Arnd Bergmann , Marc Zyngier , Suzuki K Poulose , Dave Martin , Shanker Donthineni , Ard Biesheuvel , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: cpu_errata: include required headers Date: Tue, 5 Jun 2018 13:50:07 +0200 Message-Id: <20180605115227.1621618-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K1:g3wJ6pLnLlG2xO8vlY3O3nRcSQ+Ics8ht1pA1R1IRSHSMlYk5qu x1BhL0N+fO6M3HyrRdIWT1XmjX7UxjyqNoO+W/mpza73pPl3tgSClgKD29jphIwFgQMahmI HwAhl6TCX3lqiyu/7A4Uu1VM716SKv1fT1EDVWk27XKSurfw/9CwFWhS6ClzfmZV/ykCOiR M7UYbBN0klyaGWjZ5pkhg== X-UI-Out-Filterresults: notjunk:1; V01:K0:vqq2hZigar0=:BEiIM0JodeznDqvtBhpapJ lwWvUJwmknfokmN7qd8mgjoTJ8pmEQ3nZyhupo4nIeI3hPzzgs8nBwW9bfWmqFd5dF1Xyj2uc Lbhvtnai1dAFHjtfDe4zX4RBYH4lrRxnYO1QVo2zPoHVXgnnyFSMCa3dKfzqwd97od6AtRDb2 tCgrGjpUcZx9EXYcxM7FoiP07p8N1r1LfjOilSK+HA6Xl2gqntZZcQFKhzoh8tlSiIiKUxj6Y Poaf07Iybu4unV+40TraRN3yCg3llasmJRngqSpnA0OsnE2VTPMsUuw/3LobAbnEXKtTZHSvT U8H/QvpN73hrGbK0ycRB3vscFo37otnXhxLg4n2kDYlDX0T/bwYtHNyUh21nZqXgL/Gq/ZrYc NC7qG8uPcJcq3xRE6Mpcv0xmaOySHwWwOWZ1KUxkorDiqs0mUP8El71Ke9bOF1Bdw0zZmB6/z 7XzHF7Jimb/n4mEGZPoZX08p+wPpLxztzCPMOCncXND6JXdbcpRtTP/CKPSRt/AXzT77wpyPj mxGv5/fqNACbochHQrL9J+TR2G/ZKBs+1j9TRg7oOHUBx6w4/2XMuHcxLxdR1nVOJYQNPkN5T //2h2iuJU/8gjoxGKo84O1v+F3zpSzJw6+n2GV4yw4M6AyqAtZcrKDSc+NecRwuy5Zal5EdbQ ySp0Fq4h1SbP1SIm48wNbhMvtK+faTcQlvWBCPLgI+W5kqFYncYCZwaaN2TiS2u7IpUo= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- This showed up only recently, but I have not bisected what caused it. --- arch/arm64/kernel/cpu_errata.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.9.0 diff --git a/arch/arm64/kernel/cpu_errata.c b/arch/arm64/kernel/cpu_errata.c index 2b9a31a6a16a..1d2b6d768efe 100644 --- 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