sparc64: Fix sparse warnings in global reg snapshotting.
authorDavid S. Miller <davem@davemloft.net>
Fri, 12 Sep 2008 06:19:22 +0000 (23:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Sep 2008 06:19:22 +0000 (23:19 -0700)
commit8f20b20de73eeabe3d35e67e0ce993eceef07492
tree54ac89b908c07d714f58fa355ff6fbb91b52489b
parent4845afac95a653f8e64c45024cbb94264df54b8f
sparc64: Fix sparse warnings in global reg snapshotting.

Lots of shadowed local variables and global_reg_snapshot[] needs
an extern declaration in asm/ptrace_64.h.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/ptrace_64.h
arch/sparc64/kernel/process.c