[PATCH] x86: Some preparationary cleanup for stack trace

- Remove unused all_contexts parameter
No caller used it
- Move skip argument into the structure (needed for
followon patches)

Cc: mingo@elte.hu

Signed-off-by: Andi Kleen <ak@suse.de>
This commit is contained in:
Andi Kleen
2006-09-26 10:52:34 +02:00
committed by Andi Kleen
parent 4ea8a5d8b5
commit 5a1b3999d6
5 changed files with 24 additions and 30 deletions

View File

@@ -224,7 +224,10 @@ static int save_trace(struct stack_trace *trace)
trace->max_entries = MAX_STACK_TRACE_ENTRIES - nr_stack_trace_entries;
trace->entries = stack_trace + nr_stack_trace_entries;
save_stack_trace(trace, NULL, 0, 3);
trace->skip = 3;
trace->all_contexts = 0;
save_stack_trace(trace, NULL);
trace->max_entries = trace->nr_entries;