Re: [PATCH v2 1/5] ARM: msm: kill off hotplug.c

From: Kumar Gala
Date: Tue Feb 04 2014 - 18:46:13 EST



On Feb 4, 2014, at 5:07 PM, Stephen Boyd <sboyd@xxxxxxxxxxxxxx> wrote:

> On 02/04, Kumar Gala wrote:
>> diff --git a/arch/arm/mach-msm/platsmp.c b/arch/arm/mach-msm/platsmp.c
>> index 3721b31..251a91e 100644
>> --- a/arch/arm/mach-msm/platsmp.c
>> +++ b/arch/arm/mach-msm/platsmp.c
>> @@ -29,6 +29,13 @@ extern void secondary_startup(void);
>>
>> static DEFINE_SPINLOCK(boot_lock);
>>
>> +#ifdef CONFIG_HOTPLUG_CPU
>> +static void __ref msm_cpu_die(unsigned int cpu)
>
> We shouldn't need __ref anymore either right?

I think we might as cpu_die is still marked __ref so I think we need it.

>
>> +{
>> + wfi();
>> +}
>> +#endif
>> +
>> static inline int get_core_count(void)
>> {
>> /* 1 + the PART[1:0] field of MIDR */
> --
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
> hosted by The Linux Foundation
> --
> To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/