4 messages in com.xensource.lists.xen-ia64-devel[Xen-devel] [PATCH] Clean up warning ...
FromSent OnAttachments
Masaki Kanno26 Feb 2006 20:34.patch
Tian, Kevin26 Feb 2006 20:54 
Masaki Kanno26 Feb 2006 22:06 
Masaki Kanno28 Feb 2006 06:23.diff
Subject:[Xen-devel] [PATCH] Clean up warning for page_alloc.c
From:Masaki Kanno (kann@jp.fujitsu.com)
Date:02/26/2006 08:34:39 PM
List:com.xensource.lists.xen-ia64-devel
Attachments:

This is multipart message.

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 <kann@jp.fujitsu.com>

Best regards, Kan