can i replace a .S file with .c file.

Anuz Pratap Singh Tomar chambilkethakur at
Mon Jan 7 08:39:18 EST 2013

On Mon, Jan 7, 2013 at 12:34 PM, SaNtosh kuLkarni <
santosh.yesoptus at> wrote:

> Hi is it possible that the assembly code .S file in linux kernel be
> replaced by a .C file.
> This seems like a very general question. Which file do you want to replace
and why?
You should understand that any *.S file contains arch specific code, which
is written in assembly for optimization/efficiency reasons. Replacing it
with an equivalent C code may undermine those goals.

> *Regards,
> Santosh*
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at

Thank you
Warm Regards
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Kernelnewbies mailing list