Re: [PATCH] percpu: remove address_space attribute if !SMP
From: Tejun Heo
Date: Fri Aug 06 2010 - 08:49:58 EST
On 08/06/2010 02:46 PM, Namhyung Kim wrote:
> percpu data has no special meaning in case of !CONFIG_SMP.
> This removes lots of sparse warnings.
> Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxx>
But they should still be accessed through the accessors and if they
are accessed through accessors, there shouldn't be sparse warnings
regarding them. Maybe UP accessors are missing proper markups? Do
those warnings only happen on UP config?
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/