Whamcloud - gitweb
return a dummy string from UML version of portals_debug_dumpstack(),
authorrread <rread>
Mon, 12 Jan 2004 19:23:39 +0000 (19:23 +0000)
committerrread <rread>
Mon, 12 Jan 2004 19:23:39 +0000 (19:23 +0000)
so it doesn't segfault after the break.

lnet/libcfs/debug.c
lustre/portals/libcfs/debug.c

index d85adb6..52e7493 100644 (file)
@@ -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__)
index d85adb6..52e7493 100644 (file)
@@ -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__)