Commit e2693ec1 authored by Rolf Eike Beer's avatar Rolf Eike Beer Committed by Helge Deller

parisc: make the log level string for register dumps const

Signed-off-by: default avatarRolf Eike Beer <eike-kernel@sf-tec.de>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent e72b23de
...@@ -75,7 +75,7 @@ static int printbinary(char *buf, unsigned long x, int nbits) ...@@ -75,7 +75,7 @@ static int printbinary(char *buf, unsigned long x, int nbits)
lvl, f, (x), (x+3), (r)[(x)+0], (r)[(x)+1], \ lvl, f, (x), (x+3), (r)[(x)+0], (r)[(x)+1], \
(r)[(x)+2], (r)[(x)+3]) (r)[(x)+2], (r)[(x)+3])
static void print_gr(char *level, struct pt_regs *regs) static void print_gr(const char *level, struct pt_regs *regs)
{ {
int i; int i;
char buf[64]; char buf[64];
...@@ -89,7 +89,7 @@ static void print_gr(char *level, struct pt_regs *regs) ...@@ -89,7 +89,7 @@ static void print_gr(char *level, struct pt_regs *regs)
PRINTREGS(level, regs->gr, "r", RFMT, i); PRINTREGS(level, regs->gr, "r", RFMT, i);
} }
static void print_fr(char *level, struct pt_regs *regs) static void print_fr(const char *level, struct pt_regs *regs)
{ {
int i; int i;
char buf[64]; char buf[64];
...@@ -119,7 +119,7 @@ static void print_fr(char *level, struct pt_regs *regs) ...@@ -119,7 +119,7 @@ static void print_fr(char *level, struct pt_regs *regs)
void show_regs(struct pt_regs *regs) void show_regs(struct pt_regs *regs)
{ {
int i, user; int i, user;
char *level; const char *level;
unsigned long cr30, cr31; unsigned long cr30, cr31;
user = user_mode(regs); user = user_mode(regs);
......
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