Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
79155023
Commit
79155023
authored
May 05, 2020
by
Vineet Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARC: show_regs: avoid extra line of output
Signed-off-by:
Vineet Gupta
<
vgupta@synopsys.com
>
parent
40db9367
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
arch/arc/kernel/troubleshoot.c
arch/arc/kernel/troubleshoot.c
+6
-8
No files found.
arch/arc/kernel/troubleshoot.c
View file @
79155023
...
...
@@ -191,10 +191,9 @@ void show_regs(struct pt_regs *regs)
if
(
user_mode
(
regs
))
show_faulting_vma
(
regs
->
ret
);
/* faulting code, not data */
pr_info
(
"ECR: 0x%08lx EFA: 0x%08lx ERET: 0x%08lx
\n
"
,
regs
->
event
,
current
->
thread
.
fault_address
,
regs
->
ret
);
pr_info
(
"STAT32: 0x%08lx"
,
regs
->
status32
);
pr_info
(
"ECR: 0x%08lx EFA: 0x%08lx ERET: 0x%08lx
\n
STAT: 0x%08lx"
,
regs
->
event
,
current
->
thread
.
fault_address
,
regs
->
ret
,
regs
->
status32
);
#define STS_BIT(r, bit) r->status32 & STATUS_##bit##_MASK ? #bit" " : ""
...
...
@@ -210,9 +209,8 @@ void show_regs(struct pt_regs *regs)
(
regs
->
status32
&
STATUS_U_MASK
)
?
"U "
:
"K "
,
STS_BIT
(
regs
,
DE
),
STS_BIT
(
regs
,
AE
));
#endif
pr_cont
(
" BTA: 0x%08lx
\n
"
,
regs
->
bta
);
pr_info
(
"BLK: %pS
\n
SP: 0x%08lx FP: 0x%08lx
\n
"
,
(
void
*
)
regs
->
blink
,
regs
->
sp
,
regs
->
fp
);
pr_cont
(
" BTA: 0x%08lx
\n
SP: 0x%08lx FP: 0x%08lx BLK: %pS
\n
"
,
regs
->
bta
,
regs
->
sp
,
regs
->
fp
,
(
void
*
)
regs
->
blink
);
pr_info
(
"LPS: 0x%08lx
\t
LPE: 0x%08lx
\t
LPC: 0x%08lx
\n
"
,
regs
->
lp_start
,
regs
->
lp_end
,
regs
->
lp_count
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment