protect PAL mapping printk with EFI_DEBUG
PATCH 1/1 protect PAL mapping printk with EFI_DEBUG
Having this print out for every CPU on a large system was a pain, so protect the printk with EFI_DEBUG.
Jesse
arch/ia64/kernel/efi.c +2 -0
@@ -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