On 03/03/15 at 10:32am, Yinghai Lu wrote: > On Mon, Mar 2, 2015 at 6:58 AM, Baoquan He <b...@redhat.com> wrote: > > static void mem_avoid_init(unsigned long input, unsigned long input_size, > > - unsigned long output, unsigned long output_size) > > + unsigned long output_size) > > { > > u64 initrd_start, initrd_size; > > u64 cmd_line, cmd_line_size; > > @@ -349,7 +349,7 @@ unsigned char *choose_kernel_location(struct > > boot_params *params, > > > > /* Record the various known unsafe memory ranges. */ > > mem_avoid_init((unsigned long)input, input_size, > > - (unsigned long)output, output_size); > > + output_size); > > > > /* Walk e820 and find a random address. */ > > random = find_random_addr(choice, output_size); > > No, that is not right, but it is not your fault. > > let me sort it out.
All right, I saw your posting to address related issue, will take it out from next repost. Thanks Baoquan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/