Re: [stable] [PATCH -stable] vmalloc: conditionalize build ofpcpu_get_vm_areas()

From: Greg KH
Date: Wed Dec 16 2009 - 18:13:22 EST


On Thu, Dec 10, 2009 at 08:43:16AM +0900, Tejun Heo wrote:
> pcpu_get_vm_areas() is used only when dynamic percpu allocator is used
> by the architecture. In 2.6.32, ia64 doesn't use dynamic percpu
> allocator and has a macro which makes pcpu_get_vm_areas() buggy via
> local/global variable aliasing and triggers compile warning.
>
> The problem is fixed in upstream and ia64 uses dynamic percpu
> allocators, so the only left issue is inclusion of unnecessary code
> and compile warning on ia64 on 2.6.32.
>
> Don't build pcpu_get_vm_areas() if legacy percpu allocator is in use.
>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
> Reported-by: Jan Beulich <JBeulich@xxxxxxxxxx>
> Cc: stable@xxxxxxxxxx
> ---
> Please note that this commit won't appear on upstream.

So this is only needed for the .32 kernel stable tree? Not .31? And
it's not upstream as it was solved differently there?

thanks,

greg k-h
--
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/