On Fri, 19 Jul 2013 16:49:13 +0530, Srinivas Ganji said: > This is ONLY a hint for finding the header files in the /usr/src/linux > directory. I do generally like this. > > find include -type f | xargs grep "kthread_run" Remember that there's arch-dependent headers as well. You may want this: find include/ arch/FOO/include/ -type f | .... for an appropriate value of FOO (usually x86 or arm, unless you're on a powerpc or a sparc or one of the 23 other archs.. ;) Won't ake a difference for the specific case of kthread_run, but you're not going to find something like vdso.h under include/
Attachment:
pgpWs5S9Y2g8j.pgp
Description: PGP signature
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies