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
Kirill Smelkov
linux
Commits
e96d1c36
Commit
e96d1c36
authored
Sep 23, 2013
by
Richard Weinberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
um: Make kstack_depth_to_print conform to arch/x86
Signed-off-by:
Richard Weinberger
<
richard@nod.at
>
parent
a1850e9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
arch/um/kernel/sysrq.c
arch/um/kernel/sysrq.c
+1
-4
No files found.
arch/um/kernel/sysrq.c
View file @
e96d1c36
...
...
@@ -46,9 +46,6 @@ static void print_stack_trace(unsigned long *sp, unsigned long bp)
printk
(
KERN_INFO
"
\n
"
);
}
/*Stolen from arch/i386/kernel/traps.c */
static
const
int
kstack_depth_to_print
=
24
;
static
unsigned
long
get_frame_pointer
(
struct
task_struct
*
task
,
struct
pt_regs
*
segv_regs
)
{
...
...
@@ -88,7 +85,7 @@ void show_stack(struct task_struct *task, unsigned long *stack)
printk
(
KERN_INFO
"Stack:
\n
"
);
stack
=
sp
;
for
(
i
=
0
;
i
<
kstack_depth_to_print
;
i
++
)
{
for
(
i
=
0
;
i
<
3
*
STACKSLOTS_PER_LINE
;
i
++
)
{
if
(
kstack_end
(
stack
))
break
;
if
(
i
&&
((
i
%
STACKSLOTS_PER_LINE
)
==
0
))
...
...
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