Message ID | 20170316081013.GB7815@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <kernel-hardening-return-7042-patchwork-kernel-hardening=patchwork.kernel.org@lists.openwall.com> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 31CBD6048C for <patchwork-kernel-hardening@patchwork.kernel.org>; Thu, 16 Mar 2017 08:10:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 228DA28518 for <patchwork-kernel-hardening@patchwork.kernel.org>; Thu, 16 Mar 2017 08:10:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 164BF28646; Thu, 16 Mar 2017 08:10:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mother.openwall.net (mother.openwall.net [195.42.179.200]) by mail.wl.linuxfoundation.org (Postfix) with SMTP id 308DE28518 for <patchwork-kernel-hardening@patchwork.kernel.org>; Thu, 16 Mar 2017 08:10:32 +0000 (UTC) Received: (qmail 26040 invoked by uid 550); 16 Mar 2017 08:10:29 -0000 Mailing-List: contact kernel-hardening-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: <mailto:kernel-hardening@lists.openwall.com> List-Help: <mailto:kernel-hardening-help@lists.openwall.com> List-Unsubscribe: <mailto:kernel-hardening-unsubscribe@lists.openwall.com> List-Subscribe: <mailto:kernel-hardening-subscribe@lists.openwall.com> List-ID: <kernel-hardening.lists.openwall.com> Delivered-To: mailing list kernel-hardening@lists.openwall.com Received: (qmail 26013 invoked from network); 16 Mar 2017 08:10:29 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=pjT9NJYRnvn+p6sSMnvU6JfBL4djxGzynJAhu2/KTOM=; b=EVFltWhViAHW4qgT+fItvsiuUTk6ORTkYRPedXb4rtDVTBVYzfJtcWejN45ZXl5OQ+ clSjqB4zm6Y0N2ojqRV94/jw92nZh/QcoA3+WCxoaHWKbt0XUBzq4yUUQ5vGY2+jvFMG sp5AHB0jXICENi0x9WeFeZ9NzN7lPjQi2K0gIOhcvSj0rryHLO2+gv3vC1o9boMj0xyv ZGS6XgHrg/0WdaMJKdNfutFVrkAc0oU/i6QzbTe8IfEVBT0frt5Dlq2ix7Y0W8VU68fn z/RlMwseyshZBjFPWN2Vt/zuvtn9YGZFiw6Au/yK8OUG3vR5Wb1BxkF6cjsgG7WOZ6KO foGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=pjT9NJYRnvn+p6sSMnvU6JfBL4djxGzynJAhu2/KTOM=; b=Z0YdYYwelebM+ezJI7IvvLMQoh9TAPOptiSrvY56L2nHzaPi74NXRDocXvrXPJv9iV nrU15vEzh+I1YQCqwz5AkBtoHuo5TtHRuv3J+x1y+OBbkD0snfswKJkM+6ZaYVNqR3/Z BoIdZrNBah9tCEXZnUOr2uheUQZVNd3wK4ySBhHFaOk3Dtxt2vFV5uf321IUxbzKkqkj bOMhmuzADE8MyN51QaLLag2YlCoO1fL9liaroiSKQOquAYqB/1jSTNQLkvcWEpQZVexg a7IWaLnu0XiWA/2y7Llg2xqAictQoXmCEVGtv18jDip3djMcgZXFprGxjhxcxCnw0rsC qcQA== X-Gm-Message-State: AFeK/H1RhpqmV8L8HDcxDY7DJrgFMuEbhFBa33HR4hSLbBf08u2GHTZ3KLxLjk9d/K4CgQ== X-Received: by 10.28.168.150 with SMTP id r144mr8084421wme.43.1489651817772; Thu, 16 Mar 2017 01:10:17 -0700 (PDT) Sender: Ingo Molnar <mingo.kernel.org@gmail.com> Date: Thu, 16 Mar 2017 09:10:13 +0100 From: Ingo Molnar <mingo@kernel.org> To: Thomas Garnier <thgarnie@google.com> Cc: Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, "H . Peter Anvin" <hpa@zytor.com>, Jonathan Corbet <corbet@lwn.net>, Andrey Ryabinin <aryabinin@virtuozzo.com>, Alexander Potapenko <glider@google.com>, Dmitry Vyukov <dvyukov@google.com>, Lorenzo Stoakes <lstoakes@gmail.com>, Kees Cook <keescook@chromium.org>, Juergen Gross <jgross@suse.com>, Andy Lutomirski <luto@kernel.org>, Paul Gortmaker <paul.gortmaker@windriver.com>, Andrew Morton <akpm@linux-foundation.org>, Michal Hocko <mhocko@suse.com>, zijun_hu <zijun_hu@htc.com>, Chris Wilson <chris@chris-wilson.co.uk>, Andy Lutomirski <luto@amacapital.net>, "Rafael J . Wysocki" <rjw@rjwysocki.net>, Len Brown <len.brown@intel.com>, Pavel Machek <pavel@ucw.cz>, Jiri Kosina <jikos@kernel.org>, Matt Fleming <matt@codeblueprint.co.uk>, Ard Biesheuvel <ard.biesheuvel@linaro.org>, Boris Ostrovsky <boris.ostrovsky@oracle.com>, Rusty Russell <rusty@rustcorp.com.au>, Paolo Bonzini <pbonzini@redhat.com>, Borislav Petkov <bp@suse.de>, Christian Borntraeger <borntraeger@de.ibm.com>, Frederic Weisbecker <fweisbec@gmail.com>, "Luis R . Rodriguez" <mcgrof@kernel.org>, Stanislaw Gruszka <sgruszka@redhat.com>, Peter Zijlstra <peterz@infradead.org>, Josh Poimboeuf <jpoimboe@redhat.com>, Vitaly Kuznetsov <vkuznets@redhat.com>, Tim Chen <tim.c.chen@linux.intel.com>, Joerg Roedel <joro@8bytes.org>, Radim =?utf-8?B?S3LEjW3DocWZ?= <rkrcmar@redhat.com>, x86@kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, kasan-dev@googlegroups.com, linux-mm@kvack.org, linux-pm@vger.kernel.org, linux-efi@vger.kernel.org, xen-devel@lists.xenproject.org, lguest@lists.ozlabs.org, kvm@vger.kernel.org, kernel-hardening@lists.openwall.com Message-ID: <20170316081013.GB7815@gmail.com> References: <20170314170508.100882-1-thgarnie@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170314170508.100882-1-thgarnie@google.com> User-Agent: Mutt/1.5.24 (2015-08-30) Subject: [kernel-hardening] Re: [PATCH v7 1/3] x86/mm: Adapt MODULES_END based on Fixmap section size X-Virus-Scanned: ClamAV using ClamSMTP |
=====================> mm/vmalloc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index dabea6a29fad..b7d2a23349f4 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -35,7 +35,10 @@ #include <linux/uaccess.h> #include <asm/tlbflush.h> #include <asm/shmparam.h> -#include <asm/fixmap.h> + +#ifdef CONFIG_X86 +# include <asm/fixmap.h> +#endif #include "internal.h"