Re: [android-kernel] link two c files in android kkernel

2015-04-22 Thread karthik poduval
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 P

[android-kernel] link two c files in android kkernel

2015-03-30 Thread saideep tiku
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