The kernel is a monolithic image so all the built-in's should compile into
a single vmlinux binary. Hence you can include the header file that
declares the function you wish to call  in kernel/sched/fair.c and re-build
the kernel image.

-- 
Regards,
Karthik Poduval


On Fri, Mar 27, 2015 at 3:57 PM, saideep tiku <sait...@gmail.com> wrote:

> Hello,
>
> I am working with the armdroid 2.6.35 kernel. I wish to be able to call a
> function in the governor say drivers/cpufreq/cpufreq_conservative.c from
> the process scheduler kernel/sched/fair.c. I am not sure how I can do this.
> I know about linking C files from make. But I was wondering how I can do
> this right for the kernel.
> Any help is appreciated.
>
> --
> --
> unsubscribe: android-kernel+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-kernel
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Linux Kernel Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-kernel+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
--- 
You received this message because you are subscribed to the Google Groups 
"Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-kernel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to