|
@@ -617,7 +617,7 @@ __init int e820_search_gap(unsigned long *gapstart, unsigned long *gapsize,
|
|
|
*/
|
|
|
__init void e820_setup_gap(void)
|
|
|
{
|
|
|
- unsigned long gapstart, gapsize, round;
|
|
|
+ unsigned long gapstart, gapsize;
|
|
|
int found;
|
|
|
|
|
|
gapstart = 0x10000000;
|
|
@@ -635,14 +635,9 @@ __init void e820_setup_gap(void)
|
|
|
#endif
|
|
|
|
|
|
/*
|
|
|
- * See how much we want to round up: start off with
|
|
|
- * rounding to the next 1MB area.
|
|
|
+ * e820_reserve_resources_late protect stolen RAM already
|
|
|
*/
|
|
|
- round = 0x100000;
|
|
|
- while ((gapsize >> 4) > round)
|
|
|
- round += round;
|
|
|
- /* Fun with two's complement */
|
|
|
- pci_mem_start = (gapstart + round) & -round;
|
|
|
+ pci_mem_start = gapstart;
|
|
|
|
|
|
printk(KERN_INFO
|
|
|
"Allocating PCI resources starting at %lx (gap: %lx:%lx)\n",
|