[q] __init and static inline

Tigran Aivazian (tigran@sco.COM)
Thu, 26 Aug 1999 12:46:27 +0100 (BST)


Hi,

Another question I have about __init is whether stuff like this:

static inline int __init indy_sc_probe(void)

makes sense? I.e. will it make any function that calls it __init? Or will
__init be just ignored (as I doubt it is possible to throw away stuff from
the middle of some other function).

(my previous question was - can you confirm that it is meaningless to have
__init in front of init_module()?)

Regards,
Tigran.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/