[lkml]   [2000]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: If loadable modules are covered by Linux GPL?
In article <>,
Simon Richter <> wrote:
>On Tue, 29 Aug 2000, Mike A. Harris wrote:
>> #include'ing header files is not necessarily ok. Some headers
>> include "inline functions" which is GPL code. Such inclusion in
>> a module makes that module have to comply with GPL.
>I think this needs to be resolved ASAP. I don't have kernel sources handy,
>so I cannot tell you whether the functions are actually worth being
>protected (inb/outb doesn't belong to this group really),

If it is in the header file I think it should be open for use.

Not allowing inline code to be used just adds another hoop to jump. Just
compile with that function explicitly defined. Define another version in
the kernel and use that in your module instead. Etc.

There was another thread a few days ago commenting that modern processors
may actually be a bit faster with less inlined code and unrolled loops. Which
may mean that a lot of what is now inlined may be better off compiled in.

Fireplug - a Lineo company _-\<,_
PGP Fingerprint: 28 E2 A0 15 99 62 9A 00 (_)/ (_) 88 EC A3 EE 2D 1C 15 68
Stuart Lynne <> 604-461-7532
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:38    [W:0.067 / U:1.824 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site