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

[PATCH] readd arch_free_page (was Re: [Xen-ia64-devel] Merge with xen-unstable.hg - status)



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

 


Rackspace

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