All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yuan Yao <yao.yuan@freescale.com>
To: <linux@arm.linux.org.uk>, <akpm@linux-foundation.org>
Cc: <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>
Subject: [PATCH] arm: fix a compile error for pgtable-3level.h
Date: Mon, 19 Oct 2015 15:56:48 +0800	[thread overview]
Message-ID: <1445241408-11897-1-git-send-email-yao.yuan@freescale.com> (raw)

With the compile error:
In file included from ./arch/arm/include/asm/pgtable.h:31:0,
                 from include/linux/mm.h:55,
                 from arch/arm/kernel/asm-offsets.c:15:
./arch/arm/include/asm/pgtable-3level.h:20:0: error: unterminated #ifndef
 #ifndef _ASM_PGTABLE_3LEVEL_H
 ^
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

The
 #endif
for
 #ifdef CONFIG_TRANSPARENT_HUGEPAGE
is missing.

Signed-off-by: Yuan Yao <yao.yuan@freescale.com>
---
 arch/arm/include/asm/pgtable-3level.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/include/asm/pgtable-3level.h b/arch/arm/include/asm/pgtable-3level.h
index d42f81f..dc46398 100644
--- a/arch/arm/include/asm/pgtable-3level.h
+++ b/arch/arm/include/asm/pgtable-3level.h
@@ -231,6 +231,7 @@ static inline pte_t pte_mkspecial(pte_t pte)
 
 #ifdef CONFIG_TRANSPARENT_HUGEPAGE
 #define pmd_trans_huge(pmd)	(pmd_val(pmd) && !pmd_table(pmd))
+#endif
 
 #define PMD_BIT_FUNC(fn,op) \
 static inline pmd_t pmd_##fn(pmd_t pmd) { pmd_val(pmd) op; return pmd; }
-- 
2.1.0.27.g96db324


WARNING: multiple messages have this Message-ID (diff)
From: yao.yuan@freescale.com (Yuan Yao)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm: fix a compile error for pgtable-3level.h
Date: Mon, 19 Oct 2015 15:56:48 +0800	[thread overview]
Message-ID: <1445241408-11897-1-git-send-email-yao.yuan@freescale.com> (raw)

With the compile error:
In file included from ./arch/arm/include/asm/pgtable.h:31:0,
                 from include/linux/mm.h:55,
                 from arch/arm/kernel/asm-offsets.c:15:
./arch/arm/include/asm/pgtable-3level.h:20:0: error: unterminated #ifndef
 #ifndef _ASM_PGTABLE_3LEVEL_H
 ^
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

The
 #endif
for
 #ifdef CONFIG_TRANSPARENT_HUGEPAGE
is missing.

Signed-off-by: Yuan Yao <yao.yuan@freescale.com>
---
 arch/arm/include/asm/pgtable-3level.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/include/asm/pgtable-3level.h b/arch/arm/include/asm/pgtable-3level.h
index d42f81f..dc46398 100644
--- a/arch/arm/include/asm/pgtable-3level.h
+++ b/arch/arm/include/asm/pgtable-3level.h
@@ -231,6 +231,7 @@ static inline pte_t pte_mkspecial(pte_t pte)
 
 #ifdef CONFIG_TRANSPARENT_HUGEPAGE
 #define pmd_trans_huge(pmd)	(pmd_val(pmd) && !pmd_table(pmd))
+#endif
 
 #define PMD_BIT_FUNC(fn,op) \
 static inline pmd_t pmd_##fn(pmd_t pmd) { pmd_val(pmd) op; return pmd; }
-- 
2.1.0.27.g96db324

             reply	other threads:[~2015-10-19  8:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-19  7:56 Yuan Yao [this message]
2015-10-19  7:56 ` [PATCH] arm: fix a compile error for pgtable-3level.h Yuan Yao

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=1445241408-11897-1-git-send-email-yao.yuan@freescale.com \
    --to=yao.yuan@freescale.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    /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: link
Be 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.