From: Dave Jiang <dave.jiang@intel.com> To: akpm@linux-foundation.org Cc: alexander.kapshuk@gmail.com, linux-nvdimm@lists.01.org, kirill.shutemov@linux.intel.com, dave.hansen@linux.intel.com, linux-mm@kvack.org, vbabka@suse.cz, jack@suse.com, boris.ostrovsky@oracle.com, labbott@redhat.com, mawilcox@microsoft.com Subject: [PATCH] mm, x86: fix HIGHMEM64 && PARAVIRT build config for native_pud_clear() Date: Mon, 27 Feb 2017 14:44:40 -0700 [thread overview] Message-ID: <148823188084.56076.17451228917824355200.stgit@djiang5-desk3.ch.intel.com> (raw) Looks like I also missed the build config that includes CONFIG_HIGHMEM64G && CONFIG_PARAVIRT to export the native_pud_clear() dummy function. Fix: commit e5d56efc ("mm,x86: fix SMP x86 32bit build for native_pud_clear()") Reported-by: Laura Abbott <labbott@redhat.com> Reported-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Signed-off-by: Dave Jiang <dave.jiang@intel.com> --- arch/x86/include/asm/pgtable-3level.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/include/asm/pgtable-3level.h b/arch/x86/include/asm/pgtable-3level.h index 8f50fb3..72277b1 100644 --- a/arch/x86/include/asm/pgtable-3level.h +++ b/arch/x86/include/asm/pgtable-3level.h @@ -121,7 +121,8 @@ static inline void native_pmd_clear(pmd_t *pmd) *(tmp + 1) = 0; } -#ifndef CONFIG_SMP +#if !defined(CONFIG_SMP) || (defined(CONFIG_HIGHMEM64G) && \ + defined(CONFIG_PARAVIRT)) static inline void native_pud_clear(pud_t *pudp) { } _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm
WARNING: multiple messages have this Message-ID (diff)
From: Dave Jiang <dave.jiang@intel.com> To: akpm@linux-foundation.org Cc: dave.hansen@linux.intel.com, alexander.kapshuk@gmail.com, mawilcox@microsoft.com, boris.ostrovsky@oracle.com, linux-nvdimm@lists.01.org, linux-mm@kvack.org, vbabka@suse.cz, jack@suse.com, dan.j.williams@intel.com, labbott@redhat.com, ross.zwisler@linux.intel.com, kirill.shutemov@linux.intel.com Subject: [PATCH] mm, x86: fix HIGHMEM64 && PARAVIRT build config for native_pud_clear() Date: Mon, 27 Feb 2017 14:44:40 -0700 [thread overview] Message-ID: <148823188084.56076.17451228917824355200.stgit@djiang5-desk3.ch.intel.com> (raw) Looks like I also missed the build config that includes CONFIG_HIGHMEM64G && CONFIG_PARAVIRT to export the native_pud_clear() dummy function. Fix: commit e5d56efc ("mm,x86: fix SMP x86 32bit build for native_pud_clear()") Reported-by: Laura Abbott <labbott@redhat.com> Reported-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Signed-off-by: Dave Jiang <dave.jiang@intel.com> --- arch/x86/include/asm/pgtable-3level.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/include/asm/pgtable-3level.h b/arch/x86/include/asm/pgtable-3level.h index 8f50fb3..72277b1 100644 --- a/arch/x86/include/asm/pgtable-3level.h +++ b/arch/x86/include/asm/pgtable-3level.h @@ -121,7 +121,8 @@ static inline void native_pmd_clear(pmd_t *pmd) *(tmp + 1) = 0; } -#ifndef CONFIG_SMP +#if !defined(CONFIG_SMP) || (defined(CONFIG_HIGHMEM64G) && \ + defined(CONFIG_PARAVIRT)) static inline void native_pud_clear(pud_t *pudp) { } -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next reply other threads:[~2017-02-27 21:44 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-02-27 21:44 Dave Jiang [this message] 2017-02-27 21:44 ` [PATCH] mm, x86: fix HIGHMEM64 && PARAVIRT build config for native_pud_clear() Dave Jiang
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=148823188084.56076.17451228917824355200.stgit@djiang5-desk3.ch.intel.com \ --to=dave.jiang@intel.com \ --cc=akpm@linux-foundation.org \ --cc=alexander.kapshuk@gmail.com \ --cc=boris.ostrovsky@oracle.com \ --cc=dave.hansen@linux.intel.com \ --cc=jack@suse.com \ --cc=kirill.shutemov@linux.intel.com \ --cc=labbott@redhat.com \ --cc=linux-mm@kvack.org \ --cc=linux-nvdimm@lists.01.org \ --cc=mawilcox@microsoft.com \ --cc=vbabka@suse.cz \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.