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-ia64-devel

[PATCH] readd arch_free_page (was Re: [Xen-ia64-devel] Merge with xen-un

To: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [PATCH] readd arch_free_page (was Re: [Xen-ia64-devel] Merge with xen-unstable.hg - status)
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Wed, 31 Jan 2007 16:30:10 +0900
Delivery-date: Tue, 30 Jan 2007 23:29:48 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070129071417.GA28768%yamahata@xxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1170029456.10792.10.camel@bling> <20070129071417.GA28768%yamahata@xxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
readd arch_free_page which should be arch dependent header file.
Without this patch, bad_page() of linux may be hit.


FYI:
linux-2.6.18-xen/drivers/oprofile/oprof.c doesn't compile.

--- linux-2.6.18-xen/drivers/oprofile/oprof.c.orig      2007-01-31 
16:16:18.000000000 +0900
+++ linux-2.6.18-xen/drivers/oprofile/oprof.c   2007-01-31 16:16:37.000000000 
+0900
@@ -44,9 +44,9 @@ int oprofile_set_active(int active_domai
        if (!oprofile_ops.set_active)
                return -EINVAL;
 
-       down(&start_sem);
+       down(&start_mutex);
        err = oprofile_ops.set_active(active_domains, adomains);
-       up(&start_sem);
+       up(&start_mutex);
        return err;
 }
 
@@ -57,9 +57,9 @@ int oprofile_set_passive(int passive_dom
        if (!oprofile_ops.set_passive)
                return -EINVAL;
 
-       down(&start_sem);
+       down(&start_mutex);
        err = oprofile_ops.set_passive(passive_domains, pdomains);
-       up(&start_sem);
+       up(&start_mutex);
        return err;
 }


On Mon, Jan 29, 2007 at 04:14:17PM +0900, Isaku Yamahata wrote:
> On Sun, Jan 28, 2007 at 05:10:56PM -0700, Alex Williamson wrote:
> > Isaku may want to have a look at 13673 to make sure this code
> > is no longer need. 
> 
> Thank you for taking care of it.
> c/s 13673 looks good.
> 
> -- 
> yamahata
> 
> _______________________________________________
> Xen-ia64-devel mailing list
> Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-ia64-devel
> 

-- 
yamahata

Attachment: 13762_616c11fb3998_readd_arch_free_page.patch
Description: Text Data

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>