public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] protect PAL mapping printk with EFI_DEBUG
@ 2003-09-10 21:34 Jesse Barnes
  0 siblings, 0 replies; only message in thread
From: Jesse Barnes @ 2003-09-10 21:34 UTC (permalink / raw)
  To: linux-ia64

Having this print out for every CPU on a large system was a pain, so
protect the printk with EFI_DEBUG.

Jesse


diff -Nru a/arch/ia64/kernel/efi.c b/arch/ia64/kernel/efi.c
--- a/arch/ia64/kernel/efi.c	Wed Sep 10 14:26:40 2003
+++ b/arch/ia64/kernel/efi.c	Wed Sep 10 14:26:40 2003
@@ -446,10 +446,12 @@
 			panic("Woah!  PAL code size bigger than a granule!");
 
 		mask  = ~((1 << IA64_GRANULE_SHIFT) - 1);
+#if EFI_DEBUG
 		printk(KERN_INFO "CPU %d: mapping PAL code [0x%lx-0x%lx) into [0x%lx-0x%lx)\n",
 		       smp_processor_id(), md->phys_addr,
 		       md->phys_addr + (md->num_pages << EFI_PAGE_SHIFT),
 		       vaddr & mask, (vaddr & mask) + IA64_GRANULE_SIZE);
+#endif
 
 		/*
 		 * Cannot write to CRx with PSR.ic=1

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-09-10 21:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-10 21:34 [PATCH] protect PAL mapping printk with EFI_DEBUG Jesse Barnes

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