[PATCH 3/3] powerpc/cpm1: Mark micropatch code/data static and __init
Kumar Gala
galak at kernel.crashing.org
Mon Jul 12 02:07:17 EST 2010
On Jul 8, 2010, at 12:16 PM, Anton Vorontsov wrote:
> This saves runtime memory and fixes lots of sparse warnings like this:
>
> CHECK arch/powerpc/sysdev/micropatch.c
> arch/powerpc/sysdev/micropatch.c:27:6: warning: symbol 'patch_2000'
> was not declared. Should it be static?
> arch/powerpc/sysdev/micropatch.c:146:6: warning: symbol 'patch_2f00'
> was not declared. Should it be static?
> ...
>
> Signed-off-by: Anton Vorontsov <avorontsov at mvista.com>
> ---
> arch/powerpc/include/asm/cpm1.h | 3 ++-
> arch/powerpc/sysdev/micropatch.c | 18 +++++++++---------
> 2 files changed, 11 insertions(+), 10 deletions(-)
applied to merge
- k
More information about the Linuxppc-dev
mailing list