public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: paul@pwsan•com (Paul Walmsley)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH 1/4] arm64: fix missing asm/pgtable-hwdef.h include in asm/processor.h
Date: Mon, 05 Jan 2015 18:52:10 -0700	[thread overview]
Message-ID: <20150106015156.27249.32173.stgit@dusk.lan> (raw)
In-Reply-To: <20150106014554.27249.89116.stgit@dusk.lan>

On next-20150105, defconfig compilation breaks with:

./arch/arm64/include/asm/processor.h:47:32: error: ?PHYS_MASK? undeclared (first use in this function)

Fix by including asm/pgtable-hwdef.h, where PHYS_MASK is defined.

Signed-off-by: Paul Walmsley <paul@pwsan•com>
Cc: Paul Walmsley <pwalmsley@nvidia•com>
Cc: Catalin Marinas <catalin.marinas@arm•com>
Cc: Will Deacon <will.deacon@arm•com>
---
 arch/arm64/include/asm/processor.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/include/asm/processor.h b/arch/arm64/include/asm/processor.h
index 286b1bec547c..e271690753ff 100644
--- a/arch/arm64/include/asm/processor.h
+++ b/arch/arm64/include/asm/processor.h
@@ -33,6 +33,7 @@
 #include <asm/hw_breakpoint.h>
 #include <asm/ptrace.h>
 #include <asm/types.h>
+#include <asm/pgtable-hwdef.h>
 
 #ifdef __KERNEL__
 #define STACK_TOP_MAX		TASK_SIZE_64

  reply	other threads:[~2015-01-06  1:52 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-06  1:51 [PATCH 0/4] ARM64 compilation fixes for missing header includes Paul Walmsley
2015-01-06  1:52 ` Paul Walmsley [this message]
2015-01-06 10:37   ` [PATCH 1/4] arm64: fix missing asm/pgtable-hwdef.h include in asm/processor.h Mark Rutland
2015-01-06 20:34     ` Paul Walmsley
2015-01-06  1:52 ` [PATCH 2/4] arm64: fix missing linux/bug.h include in asm/arch_timer.h Paul Walmsley
2015-01-06 10:27   ` Mark Rutland
2015-01-06 20:30     ` Paul Walmsley
2015-01-06  1:52 ` [PATCH 3/4] arm64: fix missing asm/alternative.h include in kernel/module.c Paul Walmsley
2015-01-06 10:40   ` Mark Rutland
2015-01-06 20:36     ` Paul Walmsley
2015-01-06  1:52 ` [PATCH 4/4] arm64: fix missing asm/io.h include in kernel/smp_spin_table.c Paul Walmsley
2015-01-06 10:34   ` Mark Rutland
2015-01-06 20:32     ` Paul Walmsley
2015-01-07 11:08 ` [PATCH 0/4] ARM64 compilation fixes for missing header includes Will Deacon

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=20150106015156.27249.32173.stgit@dusk.lan \
    --to=paul@pwsan$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox