lkml.org 
[lkml]   [2007]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Trying to convert old modules to newer kernels
From
Date

On Thu, 2007-12-20 at 11:27 -0500, Lennart Sorensen wrote:
> On Thu, Dec 20, 2007 at 11:13:19AM -0500, linux-os (Dick Johnson) wrote:
> > It never gets to the printk(). You were right about the
> > compilation. Somebody changed the kernel to compile with
> > parameter passing in REGISTERS! This means that EVERYTHING
> > needs to be compiled the same way, 'C' calling conventions
> > were not good enough!
> >
> > FYI, it has been previously shown that passing parameters
> > in registers on register-starved ix86 machines is always
> > a loss, because the registers need to be freed up, either
> > by saving them on the stack or as dummy memory variables.
> >
> > Now, they've done it to the entire kernel!
>
> It's a config option. I think redhat was the first to actually start
> using it on their distributions. Many distributions don't use it.
> Debian does not use it on their kernels.

And anyway, what's wrong with having the kernel build scripts build the
module for you? ;-)

Jon.




\
 
 \ /
  Last update: 2007-12-29 15:23    [W:0.190 / U:0.612 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site