linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 01/12] Move declaration of init_bootmem_done into system.h
@ 2008-05-08  4:27 Michael Ellerman
  2008-05-08  4:27 ` [PATCH 02/12] Fix sparse warnings in arch/powerpc/mm Michael Ellerman
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Michael Ellerman @ 2008-05-08  4:27 UTC (permalink / raw)
  To: linuxppc-dev

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
---
 arch/powerpc/mm/init_32.c    |    3 +--
 include/asm-powerpc/system.h |    1 +
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/mm/init_32.c b/arch/powerpc/mm/init_32.c
index 1952b4d..4541859 100644
--- a/arch/powerpc/mm/init_32.c
+++ b/arch/powerpc/mm/init_32.c
@@ -43,6 +43,7 @@
 #include <asm/btext.h>
 #include <asm/tlb.h>
 #include <asm/sections.h>
+#include <asm/system.h>
 
 #include "mmu_decl.h"
 
@@ -76,8 +77,6 @@ void MMU_init(void);
 /* XXX should be in current.h  -- paulus */
 extern struct task_struct *current_set[NR_CPUS];
 
-extern int init_bootmem_done;
-
 /*
  * this tells the system to map all of ram with the segregs
  * (i.e. page tables) instead of the bats.
diff --git a/include/asm-powerpc/system.h b/include/asm-powerpc/system.h
index 2b6559a..df781ad 100644
--- a/include/asm-powerpc/system.h
+++ b/include/asm-powerpc/system.h
@@ -190,6 +190,7 @@ extern struct task_struct *_switch(struct thread_struct *prev,
 
 extern unsigned int rtas_data;
 extern int mem_init_done;	/* set on boot once kmalloc can be called */
+extern int init_bootmem_done;	/* set on !NUMA once bootmem is available */
 extern unsigned long memory_limit;
 extern unsigned long klimit;
 
-- 
1.5.5

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

end of thread, other threads:[~2008-05-08  4:27 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-08  4:27 [PATCH 01/12] Move declaration of init_bootmem_done into system.h Michael Ellerman
2008-05-08  4:27 ` [PATCH 02/12] Fix sparse warnings in arch/powerpc/mm Michael Ellerman
2008-05-08  4:27 ` [PATCH 03/12] Move declaration of tce variables into mmu-hash64.h Michael Ellerman
2008-05-08  4:27 ` [PATCH 04/12] Remove duplicate variable definitions in mm/tlb_64.c Michael Ellerman
2008-05-08  4:27 ` [PATCH 05/12] sysdev/mpic_msi.c should include sysdev/mpic.h Michael Ellerman
2008-05-08  4:27 ` [PATCH 06/12] Add a declaration for xmon() Michael Ellerman
2008-05-08  4:27 ` [PATCH 07/12] Move xmon_irq() declaration into xmon.h Michael Ellerman
2008-05-08  4:27 ` [PATCH 08/12] Fix sparse warnings in xmon.c Michael Ellerman
2008-05-08  4:27 ` [PATCH 09/12] Make cpus_in_xmon static and remove extern mess from hvc_console.c Michael Ellerman
2008-05-08  4:27 ` [PATCH 10/12] Fix sparse warnings in arch/powerpc/kernel Michael Ellerman
2008-05-08  4:27 ` [PATCH 11/12] pseries/firmware.c should include pseries/pseries.h Michael Ellerman
2008-05-08  4:27 ` [PATCH 12/12] Fix sparse warnings in arch/powerpc/platforms/pseries Michael Ellerman

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