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

RE: [Xen-ia64-devel] [PATCH]redefine raw_smp_processor_id()

To: "Xu, Anthony" <anthony.xu@xxxxxxxxx>, <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-ia64-devel] [PATCH]redefine raw_smp_processor_id()
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Wed, 22 Feb 2006 20:50:43 +0800
Delivery-date: Wed, 22 Feb 2006 13:04:19 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcY3caZR/xnblOomQemTmcjeMDqd+QAPDqsg
Thread-topic: [Xen-ia64-devel] [PATCH]redefine raw_smp_processor_id()
Another tedious but important task is to cleanup unused linux stuff. Many linux 
files are included to ensure early stage to ramp up smoothly, which however 
leaves many potential problems and hard to track. Also some variables defined 
by linux files conflict with Xen's like example in this thread.

Some of them may be reported out by compiler warning, and some may not. So some 
effort should also be put on this issue after the warning-clean-up process.

Thanks,
Kevin

>-----Original Message-----
>From: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
>[mailto:xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Xu, Anthony
>Sent: 2006年2月22日 13:34
>To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
>Subject: [Xen-ia64-devel] [PATCH]redefine raw_smp_processor_id()
>
>There are two definitions of raw_smp_processor_id()
>One is in file xen/include/asm-ia64/linux/asm/smp.h
>       #define raw_smp_processor_id() (current_thread_info()->cpu)
>The other is in file /xen/include/asm-ia64/config.h
>       #define raw_smp_processor_id()   current->processor
>In fact, the first one takes effect, that's not correct.
>
>I think if most of warning issues has been fixed, this redefinition
>message will be outstanding, and it will not cost me much time to fix
>this issue.
>
>I suggest if someone in community has had this kind of patch to remove
>some warning messages, please send out your patch, which will definitely
>mitigate developers' debugging effort.
>
>Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx>
>
>Thanks,
>-Anthony


_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel