]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] pci32: Remove bogus alignment message
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Dec 2007 03:54:42 +0000 (14:54 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 20 Dec 2007 05:18:05 +0000 (16:18 +1100)
There's a stale & bogus piece of code in 32 bits PCI code that
complains about ISA related alignment issues.  Just remove it.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/pci_32.c

index 190b1a250530f11dfb47a4cc1a1f9b4f43eae3d7..c1f34d5381af5cffd9f6991b951927c7aab4e0c5 100644 (file)
@@ -199,12 +199,6 @@ void pcibios_align_resource(void *data, struct resource *res,
        if (res->flags & IORESOURCE_IO) {
                resource_size_t start = res->start;
 
-               if (size > 0x100) {
-                       printk(KERN_ERR "PCI: I/O Region %s/%d too large"
-                              " (%lld bytes)\n", pci_name(dev),
-                              dev->resource - res, (unsigned long long)size);
-               }
-
                if (start & 0x300) {
                        start = (start + 0x3ff) & ~0x3ff;
                        res->start = start;