lkml.org 
[lkml]   [2017]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCHv7 10/19] x86/mm: Make __PHYSICAL_MASK_SHIFT and __VIRTUAL_MASK_SHIFT dynamic

* Kirill A. Shutemov <kirill.shutemov@linux.intel.com> wrote:

> --- a/arch/x86/mm/dump_pagetables.c
> +++ b/arch/x86/mm/dump_pagetables.c
> @@ -82,8 +82,8 @@ static struct addr_marker address_markers[] = {
> { 0/* VMALLOC_START */, "vmalloc() Area" },
> { 0/* VMEMMAP_START */, "Vmemmap" },
> #ifdef CONFIG_KASAN
> - { KASAN_SHADOW_START, "KASAN shadow" },
> - { KASAN_SHADOW_END, "KASAN shadow end" },
> + { 0/* KASAN_SHADOW_START */, "KASAN shadow" },
> + { 0/* KASAN_SHADOW_END */, "KASAN shadow end" },

What's this? Looks hacky.

Thanks,

Ingo

\
 
 \ /
  Last update: 2017-09-28 10:29    [W:0.221 / U:3.716 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site