Commit 13629dad authored by Michael Ellerman's avatar Michael Ellerman

powerpc/xmon: Move static regno into its only user

Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 5b71eff7
...@@ -1682,7 +1682,6 @@ write_spr(int n, unsigned long val) ...@@ -1682,7 +1682,6 @@ write_spr(int n, unsigned long val)
catch_spr_faults = 0; catch_spr_faults = 0;
} }
static unsigned long regno;
static void dump_one_spr(int spr, bool show_unimplemented) static void dump_one_spr(int spr, bool show_unimplemented)
{ {
...@@ -1714,6 +1713,7 @@ 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 void super_regs(void)
{ {
static unsigned long regno;
int cmd; int cmd;
int spr; int spr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment