From: rread Date: Mon, 12 Jan 2004 19:23:39 +0000 (+0000) Subject: return a dummy string from UML version of portals_debug_dumpstack(), X-Git-Tag: v1_7_100~2795 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=50253ef5d916b4f17c5628b8b80d76509e64765d;p=fs%2Flustre-release.git return a dummy string from UML version of portals_debug_dumpstack(), so it doesn't segfault after the break. --- 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__)