diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2007-12-19 22:54:42 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-20 00:18:05 -0500 |
commit | b1258fd1029a47e99a624970b16ac11ad97ddb6a (patch) | |
tree | d6ca4b0d60c46fa67c0411a9392090fc750f4d47 /arch/powerpc/kernel/pci_32.c | |
parent | e2dc87a1dc7e2ece822eaf703d00f2ecb7c3bc70 (diff) |
[POWERPC] pci32: Remove bogus alignment message
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>
Diffstat (limited to 'arch/powerpc/kernel/pci_32.c')
-rw-r--r-- | arch/powerpc/kernel/pci_32.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/powerpc/kernel/pci_32.c b/arch/powerpc/kernel/pci_32.c index 190b1a250530..c1f34d5381af 100644 --- a/arch/powerpc/kernel/pci_32.c +++ b/arch/powerpc/kernel/pci_32.c | |||
@@ -199,12 +199,6 @@ void pcibios_align_resource(void *data, struct resource *res, | |||
199 | if (res->flags & IORESOURCE_IO) { | 199 | if (res->flags & IORESOURCE_IO) { |
200 | resource_size_t start = res->start; | 200 | resource_size_t start = res->start; |
201 | 201 | ||
202 | if (size > 0x100) { | ||
203 | printk(KERN_ERR "PCI: I/O Region %s/%d too large" | ||
204 | " (%lld bytes)\n", pci_name(dev), | ||
205 | dev->resource - res, (unsigned long long)size); | ||
206 | } | ||
207 | |||
208 | if (start & 0x300) { | 202 | if (start & 0x300) { |
209 | start = (start + 0x3ff) & ~0x3ff; | 203 | start = (start + 0x3ff) & ~0x3ff; |
210 | res->start = start; | 204 | res->start = start; |