Received: by 10.223.185.116 with SMTP id b49csp2256590wrg; Thu, 15 Feb 2018 08:51:52 -0800 (PST) X-Google-Smtp-Source: AH8x224v1q/FOPcywoIqAdk7ShAq5sXsz3vWohyShjjUxyJZGqjui64pEpgYpOGu7DOLAwKHGq5i X-Received: by 10.99.117.1 with SMTP id q1mr2714021pgc.350.1518713512600; Thu, 15 Feb 2018 08:51:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518713512; cv=none; d=google.com; s=arc-20160816; b=RGaumukFSdFa+db/hifgp7rpXa+6aYrxoR5226Z0u/K6mB4N6wdswJOepF+xru9qJp s6Rl2IptjkpTvNM1oJD/10DMOSlVCz4mmYw0ZtxPcXACDcWTtphKoCrhQXqeSaDGUvqR ip1ReJL3ocBATKYX2GpxMrB+dOHQU/R2eJ57qrmbU1dTf+xk6Yq9Sd3iGYm7JJ7Q7Y22 H72shKHXLcEK63xy1uf3T4bxSnXVy/b2fQs1m7m/76Kjct1ZvjKWCqm/30DE4zKceGRr psBXAojcBX6hXxSePcwvJYdG4hjvCyCrWkyd9YhHvjAFnk5KBVTWajuEI9hvW1X+bdYk 972g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=X0iUa3IPai9tIlHgR1iNbKI3lp6yAZ+J3cWubFiyt3c=; b=flBdYMGS58rRqDnxeMD5NZ1i869KFH8NDX9TjrfeUq80jSczxTX44CnxBB5N9qFtLm BFup+gYX5wL9Xk++zwvspHW+w5AYIcOWlCaJN6n/QJggg3cZF6l7qZyQ8QthPkVCwhcb eGfIiFJcsxfpUAQKcHbZjtgDK1nxyqQnWK8XtMwrS7gOXJumfMN7hSak6OKtY2IUBsuv SbRiFm0pXDu4UCjUtjLd2aG9OYcSRfCcU9SbVkwDA+eTtkCitl6I5YUG5ocCTVpSZTQ4 mgswPAPCAeja4lT0I2laIUCD38Na3cLSOw5O6E7jq9hW0n9SlTAzcD++2GKBhBjeozqv ORoQ== 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 v7si1304653pfi.302.2018.02.15.08.51.38; Thu, 15 Feb 2018 08:51:52 -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; 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 S1426513AbeBOQtZ (ORCPT + 99 others); Thu, 15 Feb 2018 11:49:25 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:59218 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423807AbeBOQtY (ORCPT ); Thu, 15 Feb 2018 11:49:24 -0500 Received: from localhost (unknown [37.169.103.153]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 69E8E1095; Thu, 15 Feb 2018 16:49:22 +0000 (UTC) Date: Thu, 15 Feb 2018 17:49:22 +0100 From: Greg Kroah-Hartman To: Arnd Bergmann Cc: stable@vger.kernel.org, x86@kernel.org, Dave Hansen , Ben Hutchings , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Borislav Petkov , Hugh Dickins , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] [stable-4.9] x86: fix build without CONFIG_X86_VSYSCALL_EMULATION Message-ID: <20180215164922.GB6699@kroah.com> References: <20180215151710.1473117-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180215151710.1473117-1-arnd@arndb.de> User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 15, 2018 at 04:16:56PM +0100, Arnd Bergmann wrote: > I ran into a 4.9 build regression in randconfig testing, starting with the > KAISER patches: > > arch/x86/mm/kaiser.c: In function 'kaiser_init': > arch/x86/mm/kaiser.c:347:8: error: 'vsyscall_pgprot' undeclared (first use in this function); did you mean 'massage_pgprot'? > > This is easy enough to fix, we just need to make the declaration visible > outside of the #ifdef. This works because the code using it is optimized > away when vsyscall_enabled() returns false at compile time. > > Fixes: 9a0be5afbfbb ("vsyscall: Fix permissions for emulate mode with KAISER/PTI") > Signed-off-by: Arnd Bergmann > --- > arch/x86/include/asm/vsyscall.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Thanks for these, I'll queue them up in the next round after these kernels get released in a few days. greg k-h