The patch titled x86: constify arch/i386/pci/irq.c has been added to the -mm tree. Its filename is x86-constify-arch-i386-pci-irqc.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: x86: constify arch/i386/pci/irq.c From: Andreas Mohr <andi@xxxxxxxxxxxxxxxxxxxxxxx> constify structs and add one __initdata. Signed-off-by: Andreas Mohr <andi@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- arch/i386/pci/irq.c | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff -puN arch/i386/pci/irq.c~x86-constify-arch-i386-pci-irqc arch/i386/pci/irq.c --- 25/arch/i386/pci/irq.c~x86-constify-arch-i386-pci-irqc Wed May 24 13:38:41 2006 +++ 25-akpm/arch/i386/pci/irq.c Wed May 24 13:38:41 2006 @@ -198,14 +198,14 @@ static void write_config_nybble(struct p */ static int pirq_ali_get(struct pci_dev *router, struct pci_dev *dev, int pirq) { - static unsigned char irqmap[16] = { 0, 9, 3, 10, 4, 5, 7, 6, 1, 11, 0, 12, 0, 14, 0, 15 }; + static const unsigned char irqmap[16] = { 0, 9, 3, 10, 4, 5, 7, 6, 1, 11, 0, 12, 0, 14, 0, 15 }; return irqmap[read_config_nybble(router, 0x48, pirq-1)]; } static int pirq_ali_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq) { - static unsigned char irqmap[16] = { 0, 8, 0, 2, 4, 5, 7, 6, 0, 1, 3, 9, 11, 0, 13, 15 }; + static const unsigned char irqmap[16] = { 0, 8, 0, 2, 4, 5, 7, 6, 0, 1, 3, 9, 11, 0, 13, 15 }; unsigned int val = irqmap[irq]; if (val) { @@ -256,13 +256,13 @@ static int pirq_via_set(struct pci_dev * */ static int pirq_via586_get(struct pci_dev *router, struct pci_dev *dev, int pirq) { - static unsigned int pirqmap[4] = { 3, 2, 5, 1 }; + static const unsigned int pirqmap[4] = { 3, 2, 5, 1 }; return read_config_nybble(router, 0x55, pirqmap[pirq-1]); } static int pirq_via586_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq) { - static unsigned int pirqmap[4] = { 3, 2, 5, 1 }; + static const unsigned int pirqmap[4] = { 3, 2, 5, 1 }; write_config_nybble(router, 0x55, pirqmap[pirq-1], irq); return 1; } @@ -274,13 +274,13 @@ static int pirq_via586_set(struct pci_de */ static int pirq_ite_get(struct pci_dev *router, struct pci_dev *dev, int pirq) { - static unsigned char pirqmap[4] = { 1, 0, 2, 3 }; + static const unsigned char pirqmap[4] = { 1, 0, 2, 3 }; return read_config_nybble(router,0x43, pirqmap[pirq-1]); } static int pirq_ite_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq) { - static unsigned char pirqmap[4] = { 1, 0, 2, 3 }; + static const unsigned char pirqmap[4] = { 1, 0, 2, 3 }; write_config_nybble(router, 0x43, pirqmap[pirq-1], irq); return 1; } @@ -505,7 +505,7 @@ static int pirq_bios_set(struct pci_dev static __init int intel_router_probe(struct irq_router *r, struct pci_dev *router, u16 device) { - static struct pci_device_id pirq_440gx[] = { + static struct pci_device_id __initdata pirq_440gx[] = { { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82443GX_0) }, { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82443GX_2) }, { }, _ Patches currently in -mm which might be from andi@xxxxxxxxxxxxxxxxxxxxxxx are origin.patch git-acpi.patch mm-constify-drivers-char-keyboardc.patch acx1xx-wireless-driver.patch i386-apmc-optimization.patch x86-make-using_apic_timer-__read_mostly.patch x86-cyrix-code-config_pci-fix--add-__initdata.patch x86-constify-some-parts-of-arch-i386-kernel-cpu.patch x86-make-i387-mxcsr_feature_mask-__read_mostly.patch x86-make-acpi-errata-__read_mostly.patch x86-constify-arch-i386-pci-irqc.patch x86-use-proper-defines-for-i8259a-i-o.patch x86-powerpc-make-hardirq_ctx-and-softirq_ctx-__read_mostly.patch make-noirqdebug-irqfixup-__read_mostly-add-unlikely.patch make-pmtmr_ioport-__read_mostly.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html