Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
75fd24c1
Commit
75fd24c1
authored
Nov 26, 2008
by
Paul Mundt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sh: Tidy up backtrace formatting with kallsyms disabled.
Signed-off-by:
Paul Mundt
<
lethal@linux-sh.org
>
parent
9cfc9a9b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
arch/sh/kernel/process_32.c
arch/sh/kernel/process_32.c
+2
-2
arch/sh/kernel/traps_32.c
arch/sh/kernel/traps_32.c
+1
-4
No files found.
arch/sh/kernel/process_32.c
View file @
75fd24c1
...
...
@@ -115,8 +115,8 @@ void machine_power_off(void)
void
show_regs
(
struct
pt_regs
*
regs
)
{
printk
(
"
\n
"
);
printk
(
"Pid : %d, Comm:
%20
s
\n
"
,
task_pid_nr
(
current
),
current
->
comm
);
printk
(
"CPU : %d
%s (%s %.*s)
\n
"
,
printk
(
"Pid : %d, Comm:
\t\t
%
s
\n
"
,
task_pid_nr
(
current
),
current
->
comm
);
printk
(
"CPU : %d
\t\t
%s (%s %.*s)
\n
\n
"
,
smp_processor_id
(),
print_tainted
(),
init_utsname
()
->
release
,
(
int
)
strcspn
(
init_utsname
()
->
version
,
" "
),
init_utsname
()
->
version
);
...
...
arch/sh/kernel/traps_32.c
View file @
75fd24c1
...
...
@@ -873,10 +873,7 @@ void show_trace(struct task_struct *tsk, unsigned long *sp,
if
(
regs
&&
user_mode
(
regs
))
return
;
printk
(
"
\n
Call trace: "
);
#ifdef CONFIG_KALLSYMS
printk
(
"
\n
"
);
#endif
printk
(
"
\n
Call trace:
\n
"
);
while
(
!
kstack_end
(
sp
))
{
addr
=
*
sp
++
;
...
...
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