]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] ia64: protect PAL mapping printk with EFI_DEBUG
authorJesse Barnes <jbarnes@sgi.com>
Mon, 15 Sep 2003 08:18:00 +0000 (01:18 -0700)
committerDavid Mosberger <davidm@tiger.hpl.hp.com>
Mon, 15 Sep 2003 08:18:00 +0000 (01:18 -0700)
Having this print out for every CPU on a large system was a pain, so
protect the printk with EFI_DEBUG.

arch/ia64/kernel/efi.c

index 8941b976474d496815bfa1d551b5a70b59935566..f942f077cf4123c7f7f20ef0e58ddc8dc9c68b47 100644 (file)
@@ -446,10 +446,12 @@ efi_map_pal_code (void)
                        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