mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* __put_task_struct unresolved when being used in modules
@ 2004-10-13 10:17 Thomas Spatzier
  2004-10-13 10:29 ` Christoph Hellwig
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Spatzier @ 2004-10-13 10:17 UTC (permalink / raw)
  To: linux-kernel





I have a module that keeps a reference to a task_struct and uses
get_task_struct and put_task_struct to increment/decrement the
task_struct's ref count.
Function __put_task_struct defined in kernel/fork.c does not have
an associated EXPORT_SYMBOL , so I get an unresolved symbol
error.
Is there a reason why __put_task_struct is not exported? Otherwise,
I would just add the missing EXPORT_SYMBOL. There are a number
of EXPORT_SYMBOLs already defined in fork.c anyway.

Regards,
Thomas


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

end of thread, other threads:[~2004-10-13 20:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-13 10:17 __put_task_struct unresolved when being used in modules Thomas Spatzier
2004-10-13 10:29 ` Christoph Hellwig
2004-10-13 10:49   ` Thomas Spatzier
2004-10-13 20:52     ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®