aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/lustre/include/linux/libcfs/libcfs_private.h
diff options
context:
space:
mode:
authorGravatar Peng Tao <bergwolf@gmail.com> 2013-07-15 22:27:15 +0800
committerGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2013-07-23 12:24:05 -0700
commit5d4450c41fe308e10a1805cb90d26adbf1267146 (patch)
tree06d47059e599d313ea5aec4c64e82fb2199b54ae /drivers/staging/lustre/include/linux/libcfs/libcfs_private.h
parentstaging/lustre: fix build when CONFIG_UIDGID_STRICT_TYPE_CHECKS is on (diff)
downloadlinux-5d4450c41fe308e10a1805cb90d26adbf1267146.tar.gz
linux-5d4450c41fe308e10a1805cb90d26adbf1267146.tar.bz2
linux-5d4450c41fe308e10a1805cb90d26adbf1267146.zip
staging/lustre: fix build error on non-x86 platforms
dump_trace() is only available on X86. Without it, Lustre's own watchdog is broken. We can only dump current task's stack. The client-side this code is much less likely to hit deadlocks and it's probably OK to drop this altogether, since we hardly have any ptlrpc threads on clients, most notable ones are ldlm cb threads that should not really be blocking on the client anyway. Remove libcfs watchdog for now, until the upstream kernel watchdog can detect distributed deadlocks and dump other kernel threads. Cc: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: Peng Tao <tao.peng@emc.com> Signed-off-by: Andreas Dilger <andreas.dilger@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/include/linux/libcfs/libcfs_private.h')
-rw-r--r--drivers/staging/lustre/include/linux/libcfs/libcfs_private.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_private.h b/drivers/staging/lustre/include/linux/libcfs/libcfs_private.h
index 056caa467126..62ef8a749002 100644
--- a/drivers/staging/lustre/include/linux/libcfs/libcfs_private.h
+++ b/drivers/staging/lustre/include/linux/libcfs/libcfs_private.h
@@ -210,7 +210,6 @@ do { \
#define ntohs(x) ___ntohs(x)
#endif
-void libcfs_debug_dumpstack(task_t *tsk);
void libcfs_run_upcall(char **argv);
void libcfs_run_lbug_upcall(struct libcfs_debug_msg_data *);
void libcfs_debug_dumplog(void);