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

[Xen-devel] [PATCH] Clean up warning for page_alloc.c

To: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Clean up warning for page_alloc.c
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Mon, 27 Feb 2006 13:35:02 +0900
Delivery-date: Mon, 27 Feb 2006 04:36:07 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi all,

I clean up warning in xen/ia64.
The "MAX_ORDER" is redefined as I show below it.
I didn't change the Linux original code "mmzone.h" and thought
to change a local definition in "page_alloc.c". 
This patch changes a local definition from "MAX_ORDER" to
"XEN_MAX_ORDER".

page_alloc.c:222:1: warning: "MAX_ORDER" redefined
In file included from 
/home/kanno/xen-ia64-unstable.hg/xen/include/asm-ia64/linux-xen/linux/gfp.h:7,
                 from /home/kanno/xen-ia64-unstable.hg/xen/include/asm/mm.h:6,
                 from 
/home/kanno/xen-ia64-unstable.hg/xen/include/linux/mm.h:79,
                 from 
/home/kanno/xen-ia64-unstable.hg/xen/include/asm-ia64/linux-xen/asm/uaccess.h:39,
                 from 
/home/kanno/xen-ia64-unstable.hg/xen/include/asm/domain.h:143,
                 from 
/home/kanno/xen-ia64-unstable.hg/xen/include/xen/sched.h:15,
                 from page_alloc.c:28:
/home/kanno/xen-ia64-unstable.hg/xen/include/asm-ia64/linux/mmzone.h:19:1: 
warning: this is the location of the previous 
definition

Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>

Best regards,
 Kan

Attachment: XEN_MAX_ORDER.patch
Description: Binary data

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