RE: [kvm-ia64-devel] [02/17][PATCH] Implement smp_call_function_mask for ia64
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: "Avi Kivity" <avi@xxxxxxxxxxxx>
- Subject: RE: [kvm-ia64-devel] [02/17][PATCH] Implement smp_call_function_mask for ia64
- From: "Zhang, Xiantao" <xiantao.zhang@xxxxxxxxx>
- Date: Mon, 31 Mar 2008 09:40:25 +0800
- Cc: "Luck, Tony" <tony.luck@xxxxxxxxx>, "Xu, Anthony" <anthony.xu@xxxxxxxxx>, "Jes Sorensen" <jes@xxxxxxx>, "Akio Takebe" <takebe_akio@xxxxxxxxxxxxxx>, <kvm-devel@xxxxxxxxxxxxxxxxxxxxx>, <kvm-ia64-devel@xxxxxxxxxxxxxxxxxxxxx>, <linux-ia64@xxxxxxxxxxxxxxx>, <virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx>, "Carsten Otte" <cotte@xxxxxxxxxx>
- In-reply-to: <47EF7C8B.90902@xxxxxxxxxxxx>
- List-id: <linux-ia64.vger.kernel.org>
- References: <42DFA526FC41B1429CE7279EF83C6BDCFF7EFE@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <47EF7C8B.90902@xxxxxxxxxxxx>
- Thread-index: AciSW1LdhfipZy/WRVyXgQvk9rTL1wAdI29A
- Thread-topic: [kvm-ia64-devel] [02/17][PATCH] Implement smp_call_function_mask for ia64
Avi Kivity wrote:
> Zhang, Xiantao wrote:
>>
>> diff --git a/include/linux/smp.h b/include/linux/smp.h
>> index 55232cc..b71820b 100644
>> --- a/include/linux/smp.h
>> +++ b/include/linux/smp.h
>> @@ -56,6 +56,9 @@ int smp_call_function(void(*func)(void *info),
>> void *info, int retry, int wait);
>>
>> int smp_call_function_single(int cpuid, void (*func) (void *info),
>> void *info, int retry, int wait);
>> +int smp_call_function_mask(cpumask_t mask,
>> + void (*func)(void *), void *info,
>> + int wait);
>>
>>
>
> For all other archs, smp_call_function_mask() is declared in
> <asm/smp.h> so please define it there. A separate patch can move the
> declarations to <linux/smp.h>, since it makes sense to have just one
> declaration (and the uniprocessor version is declared there anyway).
OK, moved it to asm-ia64/smp.h first, although only x86 arch defined the
interface in current code. :)
Xiantao
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]