Messages in this thread Patch in this message | | | Date | Thu, 14 Aug 2008 00:14:38 -0600 | From | jmerkey@wolfmoun ... | Subject | [PATCH 2.6.27-rc3 26/29] mdb: export task_curr |
| |
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) {
| |