LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Remove progress msgs from MMU_init()
@ 2005-08-30 23:38 Mark A. Greer
  2005-08-31  1:09 ` Dan Malek
  0 siblings, 1 reply; 6+ messages in thread
From: Mark A. Greer @ 2005-08-30 23:38 UTC (permalink / raw)
  To: linuxppc-dev

This dates back to a discussion in May.  This patch addresses point 1)
in the email below by ripping out the progress msgs from MMU_init().
This would allow us to get rid of all the xxx_set_bat() routines in the
various platform files.

Does anyone object to this patch?

Mark

http://ozlabs.org/pipermail/linuxppc-dev/2005-May/019120.html

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Remove progress msgs from MMU_init()
@ 2005-08-31  1:39 Mark A. Greer
  2005-08-31  3:41 ` Paul Mackerras
  0 siblings, 1 reply; 6+ messages in thread
From: Mark A. Greer @ 2005-08-31  1:39 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 380 bytes --]

With that patch this time...Argh...
--

This dates back to a discussion in May.  This patch addresses point 1)
in the email below by ripping out the progress msgs from MMU_init().
This would allow us to get rid of all the xxx_set_bat() routines in the
various platform files.

Does anyone object to this patch?

Mark

http://ozlabs.org/pipermail/linuxppc-dev/2005-May/019120.html

[-- Attachment #2: mmu_init.patch --]
[-- Type: text/plain, Size: 1128 bytes --]

diff --git a/arch/ppc/mm/init.c b/arch/ppc/mm/init.c
--- a/arch/ppc/mm/init.c
+++ b/arch/ppc/mm/init.c
@@ -237,9 +237,6 @@ void MMU_setup(void)
  */
 void __init MMU_init(void)
 {
-	if (ppc_md.progress)
-		ppc_md.progress("MMU:enter", 0x111);
-
 	/* parse args from command line */
 	MMU_setup();
 
@@ -272,13 +269,9 @@ void __init MMU_init(void)
 	set_phys_avail(total_lowmem);
 
 	/* Initialize the MMU hardware */
-	if (ppc_md.progress)
-		ppc_md.progress("MMU:hw init", 0x300);
 	MMU_init_hw();
 
 	/* Map in all of RAM starting at KERNELBASE */
-	if (ppc_md.progress)
-		ppc_md.progress("MMU:mapin", 0x301);
 	mapin_ram();
 
 #ifdef CONFIG_HIGHMEM
@@ -289,17 +282,12 @@ void __init MMU_init(void)
 	ioremap_bot = ioremap_base;
 
 	/* Map in I/O resources */
-	if (ppc_md.progress)
-		ppc_md.progress("MMU:setio", 0x302);
 	if (ppc_md.setup_io_mappings)
 		ppc_md.setup_io_mappings();
 
 	/* Initialize the context management stuff */
 	mmu_context_init();
 
-	if (ppc_md.progress)
-		ppc_md.progress("MMU:exit", 0x211);
-
 #ifdef CONFIG_BOOTX_TEXT
 	/* By default, we are no longer mapped */
        	boot_text_mapped = 0;

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

end of thread, other threads:[~2005-08-31 16:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-30 23:38 Remove progress msgs from MMU_init() Mark A. Greer
2005-08-31  1:09 ` Dan Malek
2005-08-31  1:29   ` Mark A. Greer
  -- strict thread matches above, loose matches on Subject: below --
2005-08-31  1:39 Mark A. Greer
2005-08-31  3:41 ` Paul Mackerras
2005-08-31 16:05   ` Mark A. Greer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox