commit | 006e84ee3a54e393ec6bef2a9bc891dc5bde2843 | [log] [tgz] |
---|---|---|
author | Catalin Marinas <catalin.marinas@arm.com> | Tue Feb 13 13:26:21 2007 +0100 |
committer | Andi Kleen <andi@basil.nowhere.org> | Tue Feb 13 13:26:21 2007 +0100 |
tree | 1b30e4a1128ca880d7b91a7b994e0b268686bf06 | |
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>