WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [IA64] Remove dom0_align which isn't used

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] Remove dom0_align which isn't used anymore.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 26 Oct 2006 12:11:03 +0000
Delivery-date: Thu, 26 Oct 2006 05:16:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 8b8c49d35d43557b19cbbf16b0194fa5ac851166
# Parent  fcd746cf4647e06b8e88e620c29610ba43e3ad7c
[IA64] Remove dom0_align which isn't used anymore.

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 xen/arch/ia64/xen/domain.c |   25 -------------------------
 1 files changed, 25 deletions(-)

diff -r fcd746cf4647 -r 8b8c49d35d43 xen/arch/ia64/xen/domain.c
--- a/xen/arch/ia64/xen/domain.c        Sat Oct 14 18:10:08 2006 -0600
+++ b/xen/arch/ia64/xen/domain.c        Tue Oct 17 11:41:03 2006 -0600
@@ -50,7 +50,6 @@
 #include <asm/tlb_track.h>
 
 unsigned long dom0_size = 512*1024*1024;
-unsigned long dom0_align = 64*1024*1024;
 
 /* dom0_max_vcpus: maximum number of VCPUs to create for dom0.  */
 static unsigned int dom0_max_vcpus = 1;
@@ -877,23 +876,6 @@ void alloc_dom0(void)
                        " (try e.g. dom0_mem=256M or dom0_mem=65536K)\n");
        }
 
-       /* Check dom0 align.  */
-       if ((dom0_align - 1) & dom0_align) { /* not a power of two */
-               panic("dom0_align (%lx) must be power of two, boot aborted"
-                     " (try e.g. dom0_align=256M or dom0_align=65536K)\n",
-                     dom0_align);
-       }
-       if (dom0_align < PAGE_SIZE) {
-               panic("dom0_align must be >= %ld, boot aborted"
-                     " (try e.g. dom0_align=256M or dom0_align=65536K)\n",
-                     PAGE_SIZE);
-       }
-       if (dom0_size % dom0_align) {
-               dom0_size = (dom0_size / dom0_align + 1) * dom0_align;
-               printf("dom0_size rounded up to %ld, due to dom0_align=%lx\n",
-                    dom0_size,dom0_align);
-       }
-
        if (running_on_sim) {
                dom0_size = 128*1024*1024; //FIXME: Should be configurable
        }
@@ -1172,10 +1154,3 @@ static void parse_dom0_mem(char *s)
        dom0_size = parse_size_and_unit(s);
 }
 custom_param("dom0_mem", parse_dom0_mem);
-
-
-static void parse_dom0_align(char *s)
-{
-       dom0_align = parse_size_and_unit(s);
-}
-custom_param("dom0_align", parse_dom0_align);

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] Remove dom0_align which isn't used anymore., Xen patchbot-unstable <=