[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] arm: print a message if multiple banks of memory are present.


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-unstable <patchbot@xxxxxxx>
  • Date: Fri, 12 Oct 2012 00:11:09 +0000
  • Delivery-date: Fri, 12 Oct 2012 00:11:18 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1349967419 -3600
# Node ID 632c1db3658a8a869b82a91b53a89c54506ddac8
# Parent  fbb8fc5ab0416c6a1a4a9460d6f8138dbe27c8ab
arm: print a message if multiple banks of memory are present.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Acked-by: Tim Deegan <tim@xxxxxxx>
Committed-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---


diff -r fbb8fc5ab041 -r 632c1db3658a xen/arch/arm/setup.c
--- a/xen/arch/arm/setup.c      Thu Oct 11 15:56:59 2012 +0100
+++ b/xen/arch/arm/setup.c      Thu Oct 11 15:56:59 2012 +0100
@@ -114,6 +114,8 @@ static void __init setup_mm(unsigned lon
      * TODO: only using the first RAM bank for now.  The heaps and the
      * frame table assume RAM is physically contiguous.
      */
+    if ( early_info.mem.nr_banks > 1 )
+        early_printk("WARNING: Only using first bank of memory\n");
     ram_start = early_info.mem.bank[0].start;
     ram_size  = early_info.mem.bank[0].size;
     ram_end = ram_start + ram_size;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.