How to use this_rq macro in Kernel module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Can anybody guide me that how to use this_rq in a
kernel module ? I get following error:

CharRunQueue.o: unresolved symbol this_rq

Including sched.h wonot help as macro is defined in
sched.c. If I include sched.c, then I get lots of
errors which are as follows:
CharRunQueue.o: unresolved symbol immediate_bh
CharRunQueue.o: unresolved symbol timer_bh
CharRunQueue.o: unresolved symbol __switch_to
CharRunQueue.o: unresolved symbol cpu_gdt_table
CharRunQueue.o: unresolved symbol __mmdrop
CharRunQueue.o: unresolved symbol tqueue_bh
CharRunQueue.o: unresolved symbol default_ldt
CharRunQueue.o: unresolved symbol show_trace_task
CharRunQueue.o: unresolved symbol init_timervecs
CharRunQueue.o: unresolved symbol __put_task_struct

Please let me know where I am going wrong.

Regards
Dinesh




		
__________________________________ 
Do you Yahoo!? 
All your favorites on one personal page ? Try My Yahoo!
http://my.yahoo.com 

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux