Files
kernel_amazon_mt8127-common/include/linux
Tejun Heo 44ee63587d percpu: Add __percpu sparse annotations to hw_breakpoint
Add __percpu sparse annotations to hw_breakpoint.

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.

In kernel/hw_breakpoint.c, per_cpu(nr_task_bp_pinned, cpu)'s will
trigger spurious noderef related warnings from sparse.  Changing it to
&per_cpu(nr_task_bp_pinned[0], cpu) will work around the problem but
deemed to ugly by the maintainer.  Leave it alone until better
solution can be found.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: K.Prasad <prasad@linux.vnet.ibm.com>
LKML-Reference: <4B7B4B7A.9050902@kernel.org>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
2010-02-27 16:23:39 +01:00
..
2010-01-13 09:04:53 +00:00
2010-02-05 07:35:05 -08:00
2009-12-23 13:33:54 +01:00
2010-02-04 09:36:19 +01:00
2010-01-11 14:32:44 +01:00
2009-12-21 11:32:27 -05:00
2009-12-25 17:30:22 -08:00
2010-02-18 02:08:16 -08:00
2010-01-16 12:29:32 +01:00
2010-01-14 22:38:09 -05:00
2009-12-25 17:30:22 -08:00
2010-01-16 12:15:38 -08:00