How to Change the order of probe() in Linux?

您所在的位置:网站首页 eprobe_defer How to Change the order of probe() in Linux?

How to Change the order of probe() in Linux?

#How to Change the order of probe() in Linux?| 来源: 网络整理| 查看: 265

Hi Prabhakar Lad,

I tried late_initcall()  instead of module_init(). My kernel boot up, but forgets to load my module which contains late_initcall() !!. I kept some printk in the function, which are not getting printed in this case. But if I do normat module_init() this prints are visble and module loads properly.

Since I have dependency between module-A and module-B. I need to load module-A before module-B. So I thought to load Module-A much before module-B using early_initcall(). But, my kernel stops  at

un Compressing Linux....................... .

So, problem still exists .. I don like to build my driver as modules and load later. I wnt it as inbuilt only.

Any hints?



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3