Received: by 10.192.165.148 with SMTP id m20csp2084106imm; Thu, 26 Apr 2018 06:05:49 -0700 (PDT) X-Google-Smtp-Source: AIpwx494q1vXe9/CCJJDC6KkdTnJ36VyMCPeIVqe8hGkbLUlg2HTKzE1VHxnEXWwK8LWIKvBFkRS X-Received: by 2002:a17:902:28ab:: with SMTP id f40-v6mr31177329plb.208.1524747949828; Thu, 26 Apr 2018 06:05:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524747949; cv=none; d=google.com; s=arc-20160816; b=w05abJEJMX+3lvZ4S3J4AbYkyUQf7DRNYV3QCYNDjK2ODHHR0lZL4S4LovcZVWuYDn lH9O9QiNMsNGWvjRYrcEiQJAJYU4k8YkXRuIYUjixJF2U9zy6+hOOU4gdW3aW9D9JBgc xXDcKIp61m7Ab1WX7KnLF5PQtmEwiFAjNQZrzwy/tfzWP+A/fHycyZGSVo8vIIqoP42Q XVoeDYRCRNIlsjoepHcKgFTJTRaHE2MtdD2hVdo5cWg8ST0rPp6mCxzMky4TE1wwlZaW GCVTMq3i0WhiO4rRybdCcoL92cAGVgufmAUNv5bMJCJekVivznyhu37IlaZD905ou0Gq 8JPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date:arc-authentication-results; bh=LCaBQaEylKJtyNwZLnkB1H45lDq3ZJu1AL2W3woKKQQ=; b=EEofC5GEqqi0dgJT4raIL7gLwzYsOYDYPcymfAuj9mSm4phxgrmW0AMN9TUzLKDEBw Cvj8NjKBA0pHWEku0sNeOgZ8tLMePxjwTzr69feMbJxbxVPACVNIQyvBhn4oWhqsAmtI mXaR8bbnZcTjL57BaS1zNl1kLrYCKTn+21UH+6xYw8m3r+4rG9okIa1JooC2GYUhuh/b 4anmAQmFnwnPZli2K4NARDipypjRwI8iiCooldYnK16KY8A1GT4y1akcAX3WKkfZxPVl rUJjW1ajUT212ILWtOOga5hTvfaZ+XXBgMn3Ij2iTr0mW4dUEMPYlo90Ssv9szlXo+0i L4Vw== 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 y16-v6si17882425pll.325.2018.04.26.06.05.24; Thu, 26 Apr 2018 06:05:49 -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 S1756308AbeDZNAz (ORCPT + 99 others); Thu, 26 Apr 2018 09:00:55 -0400 Received: from terminus.zytor.com ([198.137.202.136]:45939 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754516AbeDZNAy (ORCPT ); Thu, 26 Apr 2018 09:00:54 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTP id w3QD0kY41897244; Thu, 26 Apr 2018 06:00:46 -0700 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id w3QD0j7K1897241; Thu, 26 Apr 2018 06:00:45 -0700 Date: Thu, 26 Apr 2018 06:00:45 -0700 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Jiri Kosina Message-ID: Cc: mingo@kernel.org, jkosina@suse.cz, tglx@linutronix.de, linux-kernel@vger.kernel.org, kirill.shutemov@linux.intel.com, hpa@zytor.com Reply-To: mingo@kernel.org, tglx@linutronix.de, jkosina@suse.cz, hpa@zytor.com, kirill.shutemov@linux.intel.com, linux-kernel@vger.kernel.org In-Reply-To: References: To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/urgent] x86/mm: Make vmemmap and vmalloc base address constants unsigned long Git-Commit-ID: 14d12bb8582e158006c35cce0f8ae1706094f9a4 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 14d12bb8582e158006c35cce0f8ae1706094f9a4 Gitweb: https://git.kernel.org/tip/14d12bb8582e158006c35cce0f8ae1706094f9a4 Author: Jiri Kosina AuthorDate: Thu, 12 Apr 2018 14:39:10 +0200 Committer: Thomas Gleixner CommitDate: Thu, 26 Apr 2018 14:56:24 +0200 x86/mm: Make vmemmap and vmalloc base address constants unsigned long Commits 9b46a051e4 ("x86/mm: Initialize vmemmap_base at boot-time") and a7412546d8 ("x86/mm: Adjust vmalloc base and size at boot-time") lost the type information for __VMALLOC_BASE_L4, __VMALLOC_BASE_L5, __VMEMMAP_BASE_L4 and __VMEMMAP_BASE_L5 constants. Declare them explicitly unsigned long again. Fixes: 9b46a051e4 ("x86/mm: Initialize vmemmap_base at boot-time") Fixes: a7412546d8 ("x86/mm: Adjust vmalloc base and size at boot-time") Signed-off-by: Jiri Kosina Signed-off-by: Thomas Gleixner Acked-by: "Kirill A. Shutemov" Link: https://lkml.kernel.org/r/nycvar.YFH.7.76.1804121437350.28129@cbobk.fhfr.pm --- arch/x86/include/asm/pgtable_64_types.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/include/asm/pgtable_64_types.h b/arch/x86/include/asm/pgtable_64_types.h index d5c21a382475..adb47552e6bb 100644 --- a/arch/x86/include/asm/pgtable_64_types.h +++ b/arch/x86/include/asm/pgtable_64_types.h @@ -105,14 +105,14 @@ extern unsigned int ptrs_per_p4d; #define LDT_PGD_ENTRY (pgtable_l5_enabled ? LDT_PGD_ENTRY_L5 : LDT_PGD_ENTRY_L4) #define LDT_BASE_ADDR (LDT_PGD_ENTRY << PGDIR_SHIFT) -#define __VMALLOC_BASE_L4 0xffffc90000000000 -#define __VMALLOC_BASE_L5 0xffa0000000000000 +#define __VMALLOC_BASE_L4 0xffffc90000000000UL +#define __VMALLOC_BASE_L5 0xffa0000000000000UL #define VMALLOC_SIZE_TB_L4 32UL #define VMALLOC_SIZE_TB_L5 12800UL -#define __VMEMMAP_BASE_L4 0xffffea0000000000 -#define __VMEMMAP_BASE_L5 0xffd4000000000000 +#define __VMEMMAP_BASE_L4 0xffffea0000000000UL +#define __VMEMMAP_BASE_L5 0xffd4000000000000UL #ifdef CONFIG_DYNAMIC_MEMORY_LAYOUT # define VMALLOC_START vmalloc_base