diff mbox

[next] parisc: asm/pdc.h should include asm/page.h

Message ID a4423d670904010843r76c3a4faxd2841387772be89@mail.gmail.com (mailing list archive)
State Accepted
Headers show

Commit Message

Alexander Beregalov April 1, 2009, 3:43 p.m. UTC
From: Alexander Beregalov <a.beregalov@gmail.com>
Subject: [PATCH] parisc: asm/pdc.h should include asm/page.h

Fixes this build error:
arch/parisc/kernel/pdc_cons.c:117: error: '__PAGE_OFFSET' undeclared

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
---

 arch/parisc/include/asm/pdc.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

kyle mcmartin April 1, 2009, 11:30 p.m. UTC | #1
On Wed, Apr 01, 2009 at 07:43:40PM +0400, Alexander Beregalov wrote:
> From: Alexander Beregalov <a.beregalov@gmail.com>
> Subject: [PATCH] parisc: asm/pdc.h should include asm/page.h
> 
> Fixes this build error:
> arch/parisc/kernel/pdc_cons.c:117: error: '__PAGE_OFFSET' undeclared
> 
> Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>

Thanks, applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/parisc/include/asm/pdc.h b/arch/parisc/include/asm/pdc.h
index a26e98d..90d6973 100644
--- a/arch/parisc/include/asm/pdc.h
+++ b/arch/parisc/include/asm/pdc.h
@@ -343,6 +343,8 @@ 

 #ifdef __KERNEL__

+#include <asm/page.h> /* for __PAGE_OFFSET */
+
 extern int pdc_type;

 /* Values for pdc_type */