diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2007-02-13 13:26:21 +0100 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2007-02-13 13:26:21 +0100 |
commit | 006e84ee3a54e393ec6bef2a9bc891dc5bde2843 (patch) | |
tree | 1b30e4a1128ca880d7b91a7b994e0b268686bf06 /include | |
parent | 5558870bfbcca10cfc7b13ab866687012ea3c9af (diff) |
[PATCH] x86-64: do not always end the stack trace with ULONG_MAX
It makes more sense to end the stack trace with ULONG_MAX only if
nr_entries < max_entries. Otherwise, we lose one entry in the long stack
traces and cannot know whether the trace was complete or not.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Andi Kleen <ak@suse.de>
Cc: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions