Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205258
b: refs/heads/master
c: 147ec4d
h: refs/heads/master
v: v3
  • Loading branch information
Oleg Nesterov authored and Frederic Weisbecker committed Jun 9, 2010
1 parent 66b49f2 commit 24c9456
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 039ca4e74a1cf60bd7487324a564ecf5c981f254
refs/heads/master: 147ec4d2361e355ab32499f739cc24845ceb89da
6 changes: 5 additions & 1 deletion trunk/arch/x86/kernel/stacktrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ static int save_stack_stack(void *data, char *name)
static void save_stack_address(void *data, unsigned long addr, int reliable)
{
struct stack_trace *trace = data;
#ifdef CONFIG_FRAME_POINTER
if (!reliable)
return;
#endif
if (trace->skip > 0) {
trace->skip--;
return;
Expand All @@ -39,9 +41,11 @@ static void save_stack_address(void *data, unsigned long addr, int reliable)
static void
save_stack_address_nosched(void *data, unsigned long addr, int reliable)
{
struct stack_trace *trace = (struct stack_trace *)data;
struct stack_trace *trace = data;
#ifdef CONFIG_FRAME_POINTER
if (!reliable)
return;
#endif
if (in_sched_functions(addr))
return;
if (trace->skip > 0) {
Expand Down

0 comments on commit 24c9456

Please sign in to comment.