aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorJ Freyensee <james_p_freyensee@linux.intel.com>2010-12-09 10:37:37 +0000
committerAlan Cox <alan@linux.intel.com>2010-12-09 10:37:37 +0000
commit3229652f8929fd92f3a57e0e92b969f1b39e448f (patch)
tree234df8a2a9ccfc5014d037f1ddacfe78134ba250 /fs
parent548e97b2b66505b559709a984dc93e3347986a3c (diff)
downloadmrst-s0i3-test-3229652f8929fd92f3a57e0e92b969f1b39e448f.tar.gz
mrst-s0i3-test-3229652f8929fd92f3a57e0e92b969f1b39e448f.tar.xz
mrst-s0i3-test-3229652f8929fd92f3a57e0e92b969f1b39e448f.zip
pti: make get_task_comm usable by GPL modules
This was caught and fixed in a Meego code review and is being fixed here. The recommended way (by Meego reviewers) of getting task information was to use get_task_comm(). However, this broke module compilation of a driver. This is the same fix for this issue submitted and accepted to the Meego kernel. Signed-off-by: J Freyensee <james_p_freyensee@linux.intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/exec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/exec.c b/fs/exec.c
index d68c378a313..ded4f547c29 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -993,6 +993,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)
{