|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
Re: [Xen-ia64-devel] [patch] cleanup warning for fedora core
On Fri, 2006-06-09 at 16:52 +0900, Akio Takebe wrote:
> Hi,
>
> I remove xenpage in linux-2.6-xen-sparse/mm/memory.c
> This xenpage isn't used already.
Hi Akio,
This needs to be sent to xen-devel since it's not ia64 specific.
Thanks,
Alex
> diff -r b87ff075dab9 linux-2.6-xen-sparse/mm/memory.c
> --- a/linux-2.6-xen-sparse/mm/memory.c Thu Jun 08 11:08:35 2006 -0600
> +++ b/linux-2.6-xen-sparse/mm/memory.c Fri Jun 09 13:07:28 2006 +0900
> @@ -968,7 +968,6 @@ int get_user_pages(struct task_struct *t
> {
> int i;
> unsigned int vm_flags;
> - int xenpage = 0;
>
> /*
> * Require read or write permissions.
> @@ -1026,7 +1025,6 @@ int get_user_pages(struct task_struct *t
> if (vma && (vma->vm_flags & VM_FOREIGN)) {
> struct page **map = vma->vm_private_data;
> int offset = (start - vma->vm_start) >>
> PAGE_SHIFT;
> - xenpage =1;
> if (map[offset] != NULL) {
> if (pages) {
> struct page *page = map[offset];
>
--
Alex Williamson HP Open Source & Linux Org.
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|
|
|
|
|