Browse Source

x86: Print out RAM buffer information

So we can check that early in the bootlog.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <1265793639-15071-11-git-send-email-yinghai@kernel.org>
Reviewed-by: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Yinghai Lu 15 năm trước cách đây
mục cha
commit
79c6016958
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      arch/x86/kernel/e820.c

+ 2 - 0
arch/x86/kernel/e820.c

@@ -1429,6 +1429,8 @@ void __init e820_reserve_resources_late(void)
 			end = MAX_RESOURCE_SIZE;
 		if (start >= end)
 			continue;
+		printk(KERN_DEBUG "reserve RAM buffer: %016llx - %016llx ",
+			       start, end);
 		reserve_region_with_split(&iomem_resource, start, end,
 					  "RAM buffer");
 	}