Re: [PATCH] [1/23] x86: percpu: Avoid warnings of unused variablesin per cpu

From: Andi Kleen
Date: Thu Jun 10 2010 - 14:10:21 EST


> Thanks for this.. I applied it over
> here.. and now don't have all of
> that spam from percpu while compiling
> the kernel..

Which gcc version are you using?
>
> only one I see now is something about
> warning: variable 'gfp' set but not used

That's fixed in 'IRQ: Move alloc_desk_mask variables inside ifdef'

The whole series fixes a lot more warnings, however
there are still quite some left (in my config)

-Andi
--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/