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

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



# 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


 


Rackspace

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