[PATCH] 64bit resource: fix up printks for resources in arch and core code
This is needed if we wish to change the size of the resource structures. Based on an original patch from Vivek Goyal <vgoyal@in.ibm.com> and Andrew Morton. (tweaked by Andy Isaacson <adi@hexapodia.org>) Cc: Vivek Goyal <vgoyal@in.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Andy Isaacson <adi@hexapodia.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
@@ -376,9 +376,10 @@ static void __init maple_fixup_phb_resources(void)
|
||||
unsigned long offset = (unsigned long)hose->io_base_virt - pci_io_base;
|
||||
hose->io_resource.start += offset;
|
||||
hose->io_resource.end += offset;
|
||||
printk(KERN_INFO "PCI Host %d, io start: %lx; io end: %lx\n",
|
||||
printk(KERN_INFO "PCI Host %d, io start: %llx; io end: %llx\n",
|
||||
hose->global_number,
|
||||
hose->io_resource.start, hose->io_resource.end);
|
||||
(unsigned long long)hose->io_resource.start,
|
||||
(unsigned long long)hose->io_resource.end);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user