Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp408215pxu; Tue, 1 Dec 2020 14:31:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJwKeYcX21uVP0fC7ms8F8m0KSqoXJlMdqrMzgzp0ytP1NUECxC8pyEA3AYBK0DuqVcAZGeb X-Received: by 2002:a05:6402:1748:: with SMTP id v8mr5555076edx.136.1606861871385; Tue, 01 Dec 2020 14:31:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606861871; cv=none; d=google.com; s=arc-20160816; b=NScU4t1Eyda5w0x2vc0h5TC7UZzWkzGUU/5ONiqKVgYB+5VQ0GkrLnHZFiRa6Y0QlB qAq1uspNtMgRND7vYh49Bu3336bEjNNfMXwWK0pJ01f/UPgnbUnAnOENCzgsnex6ZzMJ q98ynnb7R0ytqjxoXpWeklLp+88HBY9SUlTYZ9IwKDctagV77LQGC4o/qxe3dMsF6tiK zRthkK1nzSd+RZPy0VrtlBexssJaxPu4lWJb49XJCkg4L7fFwheOjnZvIkGHdiEKmP5j VE24Qqk0IR9Mykzw61xa/fpnq0NMv6qAujgyCcobNgik8qq+iCfbqjbkK+ruL3Y+KXW4 eOmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=vvB5vo0bD8bfIkXc2A3m5qS6p8yYCd6FnN+PdR+l0TA=; b=BHWo/rfCp7pr2R2E+K3XncYP7ZrfqvHXaXFs/XRwKov+O/Qq8nB9nzSe3KkQwP6IXS ZUPmipaz2+P/jcVMOOVgsZq9XUWZa3zBTTS8PbEwjI1LrpFIJ2o4hqYDzIdLEC15E7bx QzMJWICegPRUYG0IvKng+gptyyPtd919T3jbkhxEx+ZutpR+4N5MqzlzQbiTBPfz8SMC sIIUFUPF0AwM5gWPwT7XlbKJXMwbdWNvXSKUr86Hp2iIBxJy9wrxxlluwzt7jt5qeczP stExWXtG4jnIIT0wEUBjyKEWei4Oy/958cBPyMH61BgpQWXPWS3+Xf39yU7GTVvPL98s vkpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=yu5SXa7N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u21si797341edx.350.2020.12.01.14.30.48; Tue, 01 Dec 2020 14:31:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=yu5SXa7N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729515AbgLAJXT (ORCPT + 99 others); Tue, 1 Dec 2020 04:23:19 -0500 Received: from mail.kernel.org ([198.145.29.99]:43026 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388886AbgLAJGs (ORCPT ); Tue, 1 Dec 2020 04:06:48 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (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 959A420770; Tue, 1 Dec 2020 09:06:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1606813587; bh=fDOYCOxHpG/8IxKY4f501UGZN7teu79FhQ7xC3jVKag=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yu5SXa7NLrm+wKEOeWN0ZNx4zhjei+9jaJlFhZ41QcO8uxAJGpDmJFini4e11BG/d 4kmGI7peA8YRhPBcSlrbNUcntnWseNkHA8R6vpxr9fjLJUMYFrhI7uSahV6cR1MosV VGs4bBwVMxq0UTcGQHWO31qAhDe1TXEl7bv6u7ig= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Stephen Rothwell , Michael Ellerman , Sasha Levin Subject: [PATCH 5.4 60/98] powerpc/64s: Fix allnoconfig build since uaccess flush Date: Tue, 1 Dec 2020 09:53:37 +0100 Message-Id: <20201201084658.030197820@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201201084652.827177826@linuxfoundation.org> References: <20201201084652.827177826@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Stephen Rothwell [ Upstream commit b6b79dd53082db11070b4368d85dd6699ff0b063 ] Using DECLARE_STATIC_KEY_FALSE needs linux/jump_table.h. Otherwise the build fails with eg: arch/powerpc/include/asm/book3s/64/kup-radix.h:66:1: warning: data definition has no type or storage class 66 | DECLARE_STATIC_KEY_FALSE(uaccess_flush_key); Fixes: 9a32a7e78bd0 ("powerpc/64s: flush L1D after user accesses") Signed-off-by: Stephen Rothwell [mpe: Massage change log] Signed-off-by: Michael Ellerman Link: https://lore.kernel.org/r/20201123184016.693fe464@canb.auug.org.au Signed-off-by: Sasha Levin --- arch/powerpc/include/asm/book3s/64/kup-radix.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/powerpc/include/asm/book3s/64/kup-radix.h b/arch/powerpc/include/asm/book3s/64/kup-radix.h index c1e45f510591e..a29b64129a7d4 100644 --- a/arch/powerpc/include/asm/book3s/64/kup-radix.h +++ b/arch/powerpc/include/asm/book3s/64/kup-radix.h @@ -54,6 +54,8 @@ #else /* !__ASSEMBLY__ */ +#include + DECLARE_STATIC_KEY_FALSE(uaccess_flush_key); #ifdef CONFIG_PPC_KUAP -- 2.27.0