Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

alpha: Add irongate_io to PCI bus resources

Fixes a NULL pointer dereference at boot on UP1500.

Cc: stable@vger.kernel.org
Reviewed-and-Tested-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Jay Estabrook <jay.estabrook@gmail.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Michael Cree <mcree@orcon.net.nz>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Jay Estabrook and committed by
Linus Torvalds
aa8b4be3 fe696909

+5
+5
arch/alpha/kernel/sys_nautilus.c
··· 188 188 extern void free_reserved_mem(void *, void *); 189 189 extern void pcibios_claim_one_bus(struct pci_bus *); 190 190 191 + static struct resource irongate_io = { 192 + .name = "Irongate PCI IO", 193 + .flags = IORESOURCE_IO, 194 + }; 191 195 static struct resource irongate_mem = { 192 196 .name = "Irongate PCI MEM", 193 197 .flags = IORESOURCE_MEM, ··· 213 209 214 210 irongate = pci_get_bus_and_slot(0, 0); 215 211 bus->self = irongate; 212 + bus->resource[0] = &irongate_io; 216 213 bus->resource[1] = &irongate_mem; 217 214 218 215 pci_bus_size_bridges(bus);