In my Driver module i want to create a thread and execute some function in the function mentioned as a parameter in thread creation .
Can anybody give me exampleof this.
Thanks in advance..
what? give an example!
see the function rest_init(...) in linux/init/main.c
this is the kernel thread that launches the init process and
provides the simplest example.
Why are people so lazy?? A simple google search should solve your problem :)