Whamcloud - gitweb
Branch HEAD
[fs/lustre-release.git] / lustre / kernel_patches / patches / export-show_task-2.4-cray.patch
1 Index: kernel-l0405/kernel/sched.c
2 ===================================================================
3 --- kernel-l0405.orig/kernel/sched.c    2003-11-06 16:15:20.000000000 -0800
4 +++ kernel-l0405/kernel/sched.c 2005-04-05 14:44:27.000000000 -0700
5 @@ -1627,7 +1627,7 @@
6         return retval;
7  }
8  
9 -static void show_task(task_t * p)
10 +void show_task(task_t * p)
11  {
12         unsigned long free = 0;
13         int state;
14 Index: kernel-l0405/kernel/ksyms.c
15 ===================================================================
16 --- kernel-l0405.orig/kernel/ksyms.c    2005-04-05 14:44:15.000000000 -0700
17 +++ kernel-l0405/kernel/ksyms.c 2005-04-05 14:44:50.000000000 -0700
18 @@ -55,6 +55,7 @@
19  #include <linux/unistd.h>
20  #include <linux/bdf_prm.h>
21  
22 +extern void show_task(task_t *);
23  
24  #if defined(CONFIG_PROC_FS)
25  #include <linux/proc_fs.h>
26 @@ -684,6 +685,7 @@
27  
28  /* debug */
29  EXPORT_SYMBOL(dump_stack);
30 +EXPORT_SYMBOL(show_task);
31  
32  #if defined(CONFIG_KDB_USB)
33  #include <linux/kdb.h>