All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.6.27-rc3 26/29] mdb: export task_curr
@ 2008-08-14  6:14 jmerkey
  2008-08-14  8:39 ` Pekka Enberg
  0 siblings, 1 reply; 11+ messages in thread
From: jmerkey @ 2008-08-14  6:14 UTC (permalink / raw)
  To: linux-kernel

export the task_curr function to the module based kernel debugger to enable
process back tracing and state display.


Signed-off-by: Jeffrey Vernon Merkey (jmerkey@wolfmountaingroup.com)

--- a/kernel/sched.c	2008-08-13 14:22:32.000000000 -0600
+++ b/kernel/sched.c	2008-08-13 11:56:03.000000000 -0600
@@ -1736,6 +1736,9 @@
 {
 	return cpu_curr(task_cpu(p)) == p;
 }
+#if defined(CONFIG_MDB_MODULE)
+EXPORT_SYMBOL_GPL(task_curr);
+#endif
 
 static inline void __set_task_cpu(struct task_struct *p, unsigned int cpu)
 {

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-08-15 17:37 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-14  6:14 [PATCH 2.6.27-rc3 26/29] mdb: export task_curr jmerkey
2008-08-14  8:39 ` Pekka Enberg
2008-08-14 14:35   ` jmerkey
2008-08-14 15:05     ` Johannes Weiner
2008-08-14 14:49       ` jmerkey
2008-08-15 12:25     ` Ingo Molnar
2008-08-15 15:58       ` jmerkey
2008-08-15 16:39         ` Ingo Molnar
2008-08-15 16:26           ` jmerkey
2008-08-15 17:14             ` jmerkey
2008-08-15 16:13       ` jmerkey

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.