From: J Freyensee <[email protected]> This is a kernel patch that fixes an issue of breaking kernel module compilation when get_task_comm() is used by a device driver. Current upstream drivers have been working around this issue by accessing the 'current' global variable directly, which has been deemed 'bad' by upstream reviewers.
Change-Id: I42fddb09005f5cb265eae602ad88a159df3a64d2 Signed-off-by: J Freyensee <[email protected]> --- fs/exec.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/fs/exec.c b/fs/exec.c index e19de6a..9d86075 100644 --- a/fs/exec.c +++ b/fs/exec.c @@ -942,6 +942,7 @@ char *get_task_comm(char *buf, struct task_struct *tsk) task_unlock(tsk); return buf; } +EXPORT_SYMBOL_GPL(get_task_comm); void set_task_comm(struct task_struct *tsk, char *buf) { -- 1.6.6.1 _______________________________________________ Meego-kernel mailing list [email protected] http://lists.meego.com/listinfo/meego-kernel
