Some (not all) of the inlined functions are 'inline' to accelerate the
kernel.
Perhaps, though, the inlined functions should be declared:
#ifdef __GNUC__
# define INLINE extern inline
#else
# define INLINE inline
#endif
#ifdef GPL
INLINE type function (arguments)
{
...
}
#else
INLINE type function (arguments);
#endif
This would be neat in that no real additional code would be brought into
the module, however, there is a possibility that the module would run a little
bit slower - a small incentive to GPL the module...
Of course, this would mean that any #define's still sitting around that
contributed code of significance should be replaced with possibly inlined
functions...
Would this make everybody happy?
mark
-- mark@mielke.cc/markm@ncf.ca/markm@nortelnetworks.com __________________________ . . _ ._ . . .__ . . ._. .__ . . . .__ | Neighbourhood Coder |\/| |_| |_| |/ |_ |\/| | |_ | |/ |_ | | | | | | \ | \ |__ . | | .|. |__ |__ | \ |__ | Ottawa, Ontario, CanadaOne ring to rule them all, one ring to find them, one ring to bring them all and in the darkness bind them...
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/