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] Remove superfluous ARCH_HAS_EXEC_DOMAIN_MM_PTR

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Remove superfluous ARCH_HAS_EXEC_DOMAIN_MM_PTR
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Tue, 05 Apr 2005 15:54:09 +0000
Delivery-date: Wed, 06 Apr 2005 13:03:03 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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 Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1236.59.2, 2005/04/05 09:54:09-06:00, djm@djmnc4000.(none)

        Remove superfluous ARCH_HAS_EXEC_DOMAIN_MM_PTR



 arch/ia64/patch/linux-2.6.7/setup.c |   11 +++++++++--
 arch/ia64/xensetup.c                |    3 ++-
 include/xen/sched.h                 |    4 ----
 3 files changed, 11 insertions(+), 7 deletions(-)


diff -Nru a/xen/arch/ia64/patch/linux-2.6.7/setup.c 
b/xen/arch/ia64/patch/linux-2.6.7/setup.c
--- a/xen/arch/ia64/patch/linux-2.6.7/setup.c   2005-04-06 09:03:09 -04:00
+++ b/xen/arch/ia64/patch/linux-2.6.7/setup.c   2005-04-06 09:03:09 -04:00
@@ -1,5 +1,5 @@
 --- ../../linux-2.6.7/arch/ia64/kernel/setup.c 2004-06-15 23:18:58.000000000 
-0600
-+++ arch/ia64/setup.c  2005-03-23 14:54:06.000000000 -0700
++++ arch/ia64/setup.c  2005-04-04 22:31:09.000000000 -0600
 @@ -21,6 +21,9 @@
  #include <linux/init.h>
  
@@ -180,7 +180,19 @@
        seq_printf(m,
                   "processor  : %d\n"
                   "vendor     : %s\n"
-@@ -667,6 +702,8 @@
+@@ -616,7 +651,11 @@
+                                       | IA64_DCR_DA | IA64_DCR_DD | 
IA64_DCR_LC));
+       atomic_inc(&init_mm.mm_count);
+       current->active_mm = &init_mm;
++#ifdef XEN
++      if (current->domain->arch.mm)
++#else
+       if (current->mm)
++#endif
+               BUG();
+ 
+       ia64_mmu_init(ia64_imva(cpu_data));
+@@ -667,6 +706,8 @@
  void
  check_bugs (void)
  {
diff -Nru a/xen/arch/ia64/xensetup.c b/xen/arch/ia64/xensetup.c
--- a/xen/arch/ia64/xensetup.c  2005-04-06 09:03:09 -04:00
+++ b/xen/arch/ia64/xensetup.c  2005-04-06 09:03:09 -04:00
@@ -258,7 +258,8 @@
 printk("About to call init_idle_task()\n");
     init_task.domain = &idle0_domain;
     init_task.processor = 0;
-    init_task.mm = &init_mm;
+//    init_task.mm = &init_mm;
+    init_task.domain->arch.mm = &init_mm;
 //    init_task.thread = INIT_THREAD;
     init_idle_task();
     //arch_do_createdomain(current);
diff -Nru a/xen/include/xen/sched.h b/xen/include/xen/sched.h
--- a/xen/include/xen/sched.h   2005-04-06 09:03:09 -04:00
+++ b/xen/include/xen/sched.h   2005-04-06 09:03:09 -04:00
@@ -68,10 +68,6 @@
     struct exec_domain *ed_next_list;
     int eid;
 
-#ifdef ARCH_HAS_EXEC_DOMAIN_MM_PTR
-    struct mm_struct *mm;
-#endif
-
     struct ac_timer  timer;         /* one-shot timer for timeout values */
     unsigned long    sleep_tick;    /* tick at which this vcpu started sleep */
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Remove superfluous ARCH_HAS_EXEC_DOMAIN_MM_PTR, BitKeeper Bot <=