Linus Torvalds b42282e5a0 pci: fix PCI bus allocation alignment handling
In commit 13583b16592a ("PCI: refactor io size calculation code") Ram
had a thinko in the refactorization of the code: the end result used the
variable 'align' for the bus alignment, but the original code used
'min_align'.

Since then, another use of that 'align' variable got introduced by
commit c8adf9a3e873 ("PCI: pre-allocate additional resources to devices
only after successful allocation of essential resources.")

Fix both of those uses to use 'min_align' as they should.

Daniel Hellstrom <daniel@gaisler.com>
Acked-by: Ram Pai <linuxram@us.ibm.com>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-04-11 10:53:11 -07:00
..
2011-03-31 11:26:23 -03:00
2011-03-29 14:48:19 +02:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-29 14:48:19 +02:00
2011-03-15 00:43:15 +01:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2009-02-13 12:01:56 -08:00
2010-07-30 09:47:22 -07:00
2010-07-30 09:47:22 -07:00
2010-10-17 20:03:05 -07:00
2010-08-31 15:28:00 -07:00
2009-07-12 12:22:34 -07:00