Hi,

> 
> Is it a compulsion for a function which need to be used in any other
> source file, exported through EXPORT_SYMBOL only? 
> Does this means all the places in kernel(and there are loads of
> them), where a function is non-static and is used in other source
> files should actually be using EXPORT_SYMBOL?  
> 

EXPORT_SYMBOL is mandatory if you want to use a kernel defined function
in a module (or vice versa), or a module defined function in a different
module. 

You can use a non-static function (defined in say A.obj) in a different
obj file (defined in say B.obj) provide that both the objs either belong
to the same module, or are linked in the kernel at the compile time.

Thanks,

Rajat

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to