* [PATCH 1/2] Add include of linux/of.h to numa.c
@ 2008-02-14 0:37 Michael Ellerman
2008-02-14 0:37 ` [PATCH 2/2] Add include of linux/of.h to os-area.c Michael Ellerman
2008-02-14 0:54 ` [PATCH 1/2] Add include of linux/of.h to numa.c David Miller
0 siblings, 2 replies; 3+ messages in thread
From: Michael Ellerman @ 2008-02-14 0:37 UTC (permalink / raw)
To: linuxppc-dev; +Cc: David S. Miller
numa.c requires routines in linux/of.h, so should include it.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
---
arch/powerpc/mm/numa.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c
index a300d25..67f6948 100644
--- a/arch/powerpc/mm/numa.c
+++ b/arch/powerpc/mm/numa.c
@@ -17,6 +17,7 @@
#include <linux/nodemask.h>
#include <linux/cpu.h>
#include <linux/notifier.h>
+#include <linux/of.h>
#include <asm/sparsemem.h>
#include <asm/lmb.h>
#include <asm/system.h>
--
1.5.2.rc1.1884.g59b20
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] Add include of linux/of.h to os-area.c
2008-02-14 0:37 [PATCH 1/2] Add include of linux/of.h to numa.c Michael Ellerman
@ 2008-02-14 0:37 ` Michael Ellerman
2008-02-14 0:54 ` [PATCH 1/2] Add include of linux/of.h to numa.c David Miller
1 sibling, 0 replies; 3+ messages in thread
From: Michael Ellerman @ 2008-02-14 0:37 UTC (permalink / raw)
To: linuxppc-dev; +Cc: David S. Miller
os-area.c requires routines in linux/of.h, so should include it.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
---
arch/powerpc/platforms/ps3/os-area.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/platforms/ps3/os-area.c b/arch/powerpc/platforms/ps3/os-area.c
index b9ea09d..70d8052 100644
--- a/arch/powerpc/platforms/ps3/os-area.c
+++ b/arch/powerpc/platforms/ps3/os-area.c
@@ -24,6 +24,7 @@
#include <linux/fs.h>
#include <linux/syscalls.h>
#include <linux/ctype.h>
+#include <linux/of.h>
#include <asm/lmb.h>
--
1.5.2.rc1.1884.g59b20
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] Add include of linux/of.h to numa.c
2008-02-14 0:37 [PATCH 1/2] Add include of linux/of.h to numa.c Michael Ellerman
2008-02-14 0:37 ` [PATCH 2/2] Add include of linux/of.h to os-area.c Michael Ellerman
@ 2008-02-14 0:54 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2008-02-14 0:54 UTC (permalink / raw)
To: michael; +Cc: linuxppc-dev
From: Michael Ellerman <michael@ellerman.id.au>
Date: Thu, 14 Feb 2008 11:37:49 +1100 (EST)
> numa.c requires routines in linux/of.h, so should include it.
>
> Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Thanks for looking into these build failures Michael.
I actually just finished respinning the LMB tree, which
I'll post about next, and I dealt with this asm/prom.h
issue in what I believe should be a more fail-safe way
from the get-go.
Have a look when I post that, and let me know if the build is OK.
Thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-02-14 0:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-14 0:37 [PATCH 1/2] Add include of linux/of.h to numa.c Michael Ellerman
2008-02-14 0:37 ` [PATCH 2/2] Add include of linux/of.h to os-area.c Michael Ellerman
2008-02-14 0:54 ` [PATCH 1/2] Add include of linux/of.h to numa.c David Miller
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).