From: Bjorn Helgaas on 29 Jun 2010 13:50 On Tuesday, June 22, 2010 11:26:39 am Yinghai Lu wrote: > + pr_info("(%d early reservations) ==> bootmem [%010llx - %010llx]\n", count, start, end); Please make all these address range messages match the %pR format. > + for_each_lmb(reserved, r) { > + pr_info(" [%010llx - %010llx] ", (u64)r->base, (u64)r->base + r->size); > + final_start = max(start, r->base); > + final_end = min(end, r->base + r->size); > + if (final_start >= final_end) { > + pr_cont("\n"); > + continue; > + } > + pr_cont(" ==> [%010llx - %010llx]\n", final_start, final_end); > + reserve_bootmem_generic(final_start, final_end - final_start, BOOTMEM_DEFAULT); > + } > + > + /* Put region array back ? */ > + if (lmb.reserved.regions != lmb_reserved_init_regions) > + lmb_reserve(__pa(lmb.reserved.regions), sizeof(struct lmb_region) * lmb.reserved.max); > +} > +#endif > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|
Pages: 1 Prev: Removing dead CONFIG_SOC_AU1000_FREQUENCY Next: lmb: Print new doubled array location info |