From 50253ef5d916b4f17c5628b8b80d76509e64765d Mon Sep 17 00:00:00 2001 From: rread Date: Mon, 12 Jan 2004 19:23:39 +0000 Subject: [PATCH] return a dummy string from UML version of portals_debug_dumpstack(), so it doesn't segfault after the break. --- lnet/libcfs/debug.c | 1 + lustre/portals/libcfs/debug.c | 1 + 2 files changed, 2 insertions(+) diff --git a/lnet/libcfs/debug.c b/lnet/libcfs/debug.c index d85adb6..52e7493 100644 --- a/lnet/libcfs/debug.c +++ b/lnet/libcfs/debug.c @@ -954,6 +954,7 @@ extern int is_kernel_text_address(unsigned long addr); char *portals_debug_dumpstack(void) { asm("int $3"); + return "dump stack"; } #elif defined(__i386__) diff --git a/lustre/portals/libcfs/debug.c b/lustre/portals/libcfs/debug.c index d85adb6..52e7493 100644 --- a/lustre/portals/libcfs/debug.c +++ b/lustre/portals/libcfs/debug.c @@ -954,6 +954,7 @@ extern int is_kernel_text_address(unsigned long addr); char *portals_debug_dumpstack(void) { asm("int $3"); + return "dump stack"; } #elif defined(__i386__) -- 1.8.3.1