linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH next] parisc: asm/pdc.h should include asm/page.h
@ 2009-04-01  9:44 Alexander Beregalov
  2009-04-01 15:01 ` Kyle McMartin
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Beregalov @ 2009-04-01  9:44 UTC (permalink / raw)
  To: linux-next, linux-parisc, kyle

Fixes this build error:
arch/parisc/kernel/pdc_cons.c:117: error: '__PAGE_OFFSET' undeclared
(first use in this function)

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

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

diff --git a/arch/parisc/include/asm/pdc.h b/arch/parisc/include/asm/pdc.h
index a26e98d..fde8045 100644
--- a/arch/parisc/include/asm/pdc.h
+++ b/arch/parisc/include/asm/pdc.h
@@ -340,6 +340,7 @@
 #if !defined(__ASSEMBLY__)

 #include <linux/types.h>
+#include <asm/page.h>

 #ifdef __KERNEL__

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH next] parisc: asm/pdc.h should include asm/page.h
  2009-04-01  9:44 [PATCH next] parisc: asm/pdc.h should include asm/page.h Alexander Beregalov
@ 2009-04-01 15:01 ` Kyle McMartin
  2009-04-01 15:06   ` Alexander Beregalov
  0 siblings, 1 reply; 6+ messages in thread
From: Kyle McMartin @ 2009-04-01 15:01 UTC (permalink / raw)
  To: Alexander Beregalov; +Cc: linux-next, linux-parisc, kyle

On Wed, Apr 01, 2009 at 01:44:08PM +0400, Alexander Beregalov wrote:
> Fixes this build error:
> arch/parisc/kernel/pdc_cons.c:117: error: '__PAGE_OFFSET' undeclared
> (first use in this function)
> 
> Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>

Huh. Nice. More patches to arch/parisc that didn't go through me that
break things.

Applied, thanks again Alexander.

cheers, Kyle

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH next] parisc: asm/pdc.h should include asm/page.h
  2009-04-01 15:01 ` Kyle McMartin
@ 2009-04-01 15:06   ` Alexander Beregalov
  2009-04-01 15:09     ` Kyle McMartin
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Beregalov @ 2009-04-01 15:06 UTC (permalink / raw)
  To: Kyle McMartin; +Cc: linux-next, linux-parisc

2009/4/1 Kyle McMartin <kyle@mcmartin.ca>:
> On Wed, Apr 01, 2009 at 01:44:08PM +0400, Alexander Beregalov wrote:
>> Fixes this build error:
>> arch/parisc/kernel/pdc_cons.c:117: error: '__PAGE_OFFSET' undeclared
>> (first use in this function)
>>
>> Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
>
> Huh. Nice. More patches to arch/parisc that didn't go through me that
> break things.
>
> Applied, thanks again Alexander.

Hi Kyle

Actually the patch does not fix build. It fails with message
"asm-parisc/page.h is not exported".
I do not know what it means.
Should we include page.h in pdc_cons.c instead of pdc.h ?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH next] parisc: asm/pdc.h should include asm/page.h
  2009-04-01 15:06   ` Alexander Beregalov
@ 2009-04-01 15:09     ` Kyle McMartin
  2009-04-01 15:43       ` Alexander Beregalov
  0 siblings, 1 reply; 6+ messages in thread
From: Kyle McMartin @ 2009-04-01 15:09 UTC (permalink / raw)
  To: Alexander Beregalov; +Cc: Kyle McMartin, linux-next, linux-parisc

On Wed, Apr 01, 2009 at 07:06:41PM +0400, Alexander Beregalov wrote:
> 2009/4/1 Kyle McMartin <kyle@mcmartin.ca>:
> > On Wed, Apr 01, 2009 at 01:44:08PM +0400, Alexander Beregalov wrote:
> >> Fixes this build error:
> >> arch/parisc/kernel/pdc_cons.c:117: error: '__PAGE_OFFSET' undeclared
> >> (first use in this function)
> >>
> >> Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
> >
> > Huh. Nice. More patches to arch/parisc that didn't go through me that
> > break things.
> >
> > Applied, thanks again Alexander.
> 
> Hi Kyle
> 
> Actually the patch does not fix build. It fails with message
> "asm-parisc/page.h is not exported".
> I do not know what it means.
> Should we include page.h in pdc_cons.c instead of pdc.h ?
> 

Ah, the <asm/page.h> include needs to be inside __KERNEL__.

Care to resend?

cheers, Kyle

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH next] parisc: asm/pdc.h should include asm/page.h
  2009-04-01 15:09     ` Kyle McMartin
@ 2009-04-01 15:43       ` Alexander Beregalov
  2009-04-01 23:30         ` Kyle McMartin
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Beregalov @ 2009-04-01 15:43 UTC (permalink / raw)
  To: Kyle McMartin; +Cc: linux-next, linux-parisc

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(-)

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 */

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH next] parisc: asm/pdc.h should include asm/page.h
  2009-04-01 15:43       ` Alexander Beregalov
@ 2009-04-01 23:30         ` Kyle McMartin
  0 siblings, 0 replies; 6+ messages in thread
From: Kyle McMartin @ 2009-04-01 23:30 UTC (permalink / raw)
  To: Alexander Beregalov; +Cc: Kyle McMartin, linux-next, linux-parisc

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-04-01 23:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-01  9:44 [PATCH next] parisc: asm/pdc.h should include asm/page.h Alexander Beregalov
2009-04-01 15:01 ` Kyle McMartin
2009-04-01 15:06   ` Alexander Beregalov
2009-04-01 15:09     ` Kyle McMartin
2009-04-01 15:43       ` Alexander Beregalov
2009-04-01 23:30         ` Kyle McMartin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).