30/37 alpha: add printk() KERN_ constants to
Subsystems (2)
PATCH 1/1 30/37 alpha: add printk() KERN_ constants to
Signed-off-by James Nelson <[email protected]>
---
arch/alpha/kernel/sys_marvel.c +7 -7
@@ -277,7 +277,7 @@ init_io7_irqs(struct io7 *io7,long base = (io7->pe <<MARVEL_IRQ_VEC_PE_SHIFT ) +16 ;long i; -printk ("Initializing interrupts for IO7 at PE %u - base %lx\n" , +pr_info ("Initializing interrupts for IO7 at PE %u - base %lx\n" , io7->pe, base);/*
@@ -289,7 +289,7 @@ init_io7_irqs(struct io7 *io7,* as each secondary starts, it can redirect it's local device * interrupts. */ -printk (" Interrupts reported to CPU at PE %u\n" , boot_cpuid); +pr_info (" Interrupts reported to CPU at PE %u\n" , boot_cpuid);spin_lock (&io7->irq_lock);
@@ -373,15 +373,15 @@ marvel_map_irq(struct pci_dev *dev, u8 s irq +=0x80 ;/* offset for lsi */ #if 1 -printk ("PCI:%d:%d:%d (hose %d) is using MSI\n" , +pr_info ("PCI:%d:%d:%d (hose %d) is using MSI\n" , dev->bus->number,PCI_SLOT (dev->devfn),PCI_FUNC (dev->devfn), hose->index); -printk (" %d message(s) from 0x%04x\n" , +pr_info (" %d message(s) from 0x%04x\n" ,1 << ((msg_ctl &PCI_MSI_FLAGS_QSIZE ) >>4 ), msg_dat); -printk (" reporting on %d IRQ(s) from %d (0x%x)\n" , +pr_info (" reporting on %d IRQ(s) from %d (0x%x)\n" ,1 << ((msg_ctl &PCI_MSI_FLAGS_QSIZE ) >>4 ), (irq +16 ) | (io7->pe <<MARVEL_IRQ_VEC_PE_SHIFT ), (irq +16 ) | (io7->pe <<MARVEL_IRQ_VEC_PE_SHIFT ));
@@ -393,7 +393,7 @@ #if 0pci_read_config_byte (dev,PCI_INTERRUPT_LINE , &intline); irq = intline; -printk (" forcing LSI interrupt on irq %d [0x%x]\n" , irq, irq); +pr_info (" forcing LSI interrupt on irq %d [0x%x]\n" , irq, irq);#endif }
@@ -441,7 +441,7 @@ marvel_smp_callin(void)/* * There is a local IO7 - redirect all of its interrupts here. */ -printk ("Redirecting IO7 interrupts to local CPU at PE %u\n" , cpuid); +pr_info ("Redirecting IO7 interrupts to local CPU at PE %u\n" , cpuid);/* Redirect the error IRQS here. */ io7_redirect_irq (io7, &io7->csrs->HLT_CTL.csr, cpuid);
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors