Re: [PATCH 8/8] percpu: add __percpu sparse annotations to what'sleft

From: Borislav Petkov
Date: Mon Jan 25 2010 - 10:54:30 EST


On Tue, Jan 26, 2010 at 12:22:15AM +0900, Tejun Heo wrote:
> Add __percpu sparse annotations to places which didn't make it in one
> of the previous patches. All converions are trivial.
>
> These annotations are to make sparse consider percpu variables to be
> in a different address space and warn if accessed without going
> through percpu accessors. This patch doesn't affect normal builds.
>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
> Cc: Dan Williams <dan.j.williams@xxxxxxxxx>
> Cc: Borislav Petkov <borislav.petkov@xxxxxxx>
> Cc: Huang Ying <ying.huang@xxxxxxxxx>
> Cc: Len Brown <lenb@xxxxxxxxxx>
> Cc: Neil Brown <neilb@xxxxxxx>
> ---
> crypto/cryptd.c | 2 +-
> drivers/acpi/processor_perflib.c | 2 +-
> drivers/dma/dmaengine.c | 2 +-
> drivers/edac/amd64_edac.c | 2 +-

For the edac bits:

Acked-by: Borislav Petkov <borislav.petkov@xxxxxxx>

--
Regards/Gruss,
Boris.

--
Advanced Micro Devices, Inc.
Operating Systems Research Center

--
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/