From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752659AbdLGKrl (ORCPT ); Thu, 7 Dec 2017 05:47:41 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:44897 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750913AbdLGKrj (ORCPT ); Thu, 7 Dec 2017 05:47:39 -0500 X-Google-Smtp-Source: AGs4zMYh6s28QqhIbm1RYi157A0uqO8Kx9W8UUdhn+z1bzPUQSKWkACGIbkCvl8ied+tYyxQFFWsoQ== Date: Thu, 7 Dec 2017 13:47:36 +0300 From: "Kirill A. Shutemov" To: torvalds@linux-foundation.org, gorcunov@openvz.org, ak@linux.intel.com, bp@suse.de, luto@amacapital.net, linux-kernel@vger.kernel.org, kirill.shutemov@linux.intel.com, tglx@linutronix.de, mingo@kernel.org, hpa@zytor.com Cc: linux-tip-commits@vger.kernel.org Subject: Re: [tip:x86/urgent] x86/boot/compressed/64: Detect and handle 5-level paging at boot-time Message-ID: <20171207104736.ojtynyy54jymkrnu@node.shutemov.name> References: <20171204124059.63515-2-kirill.shutemov@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20171027 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 07, 2017 at 01:40:42AM -0800, tip-bot for Kirill A. Shutemov wrote: > diff --git a/arch/x86/boot/compressed/pgtable_64.c b/arch/x86/boot/compressed/pgtable_64.c > new file mode 100644 > index 0000000..b4469a3 > --- /dev/null > +++ b/arch/x86/boot/compressed/pgtable_64.c > @@ -0,0 +1,28 @@ > +#include > + > +/* > + * __force_order is used by special_insns.h asm code to force instruction > + * serialization. > + * > + * It is not referenced from the code, but GCC < 5 with -fPIE would fail > + * due to an undefined symbol. Define it to make these ancient GCCs work. > + */ > +unsigned long __force_order; There's no need in __force_order in arch/x86/boot/compressed/pagetable.c after the change. -- Kirill A. Shutemov