those info are very important. Signed-off-by: Yinghai Lu <yinghai at kernel.org> --- kexec/add_buffer.c | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/kexec/add_buffer.c b/kexec/add_buffer.c index 4d4a55f..0e3badf 100644 --- a/kexec/add_buffer.c +++ b/kexec/add_buffer.c @@ -9,6 +9,13 @@ unsigned long add_buffer(struct kexec_info *info, unsigned long buf_max, int buf_end) { - return add_buffer_virt(info, buf, bufsz, memsz, buf_align, + unsigned long base; + + base = add_buffer_virt(info, buf, bufsz, memsz, buf_align, buf_min, buf_max, buf_end); + + if (base) + printf("add_buffer: base:%lx size:%lx\n", base, bufsz); + + return base; } -- 1.7.7