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

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


  • To: <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
  • Date: Wed, 22 Feb 2006 13:34:28 +0800
  • Delivery-date: Wed, 22 Feb 2006 05:48:45 +0000
  • List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
  • Thread-index: AcY3caZR/xnblOomQemTmcjeMDqd+Q==
  • Thread-topic: [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 

Attachment: redefinition_raw_smp_processor_id.patch
Description: redefinition_raw_smp_processor_id.patch

_______________________________________________
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®.