OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b71eff
)
powerpc/xmon: Move static regno into its only user
author
Michael Ellerman
<mpe@ellerman.id.au>
Thu, 7 Jul 2016 12:54:27 +0000
(22:54 +1000)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Thu, 14 Jul 2016 10:26:23 +0000
(20:26 +1000)
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/xmon/xmon.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/xmon/xmon.c
b/arch/powerpc/xmon/xmon.c
index
f351ba6
..
3695012
100644
(file)
--- a/
arch/powerpc/xmon/xmon.c
+++ b/
arch/powerpc/xmon/xmon.c
@@
-1682,7
+1682,6
@@
write_spr(int n, unsigned long val)
catch_spr_faults = 0;
}
-static unsigned long regno;
static void dump_one_spr(int spr, bool show_unimplemented)
{
@@
-1714,6
+1713,7
@@
static void dump_one_spr(int spr, bool show_unimplemented)
static void super_regs(void)
{
+ static unsigned long regno;
int cmd;
int spr;