Re: [patch] fix static linking of NFS

From: Jes Sorensen
Date: Tue Jun 27 2006 - 15:00:02 EST


Trond Myklebust wrote:
On Tue, 2006-06-27 at 12:33 -0400, Trond Myklebust wrote:
Remove __exit declarations from functions called from __init code to
avoid link errors when the __exit section is discarded, eg NFS is
linked statically into the kernel.

Signed-off-by: Jes Sorensen <jes@xxxxxxx>
Acked-by: Trond Myklebust <Trond.Myklebust@xxxxxxxxxx>

Oops... I was a bit too quick there. Could you clean up the forward
declarations in "internal.h" too, please.

Cheers,
Trond

Good point, I didn't notice those because the compiler didn't moan. I'll
look into doing another patch, but it might not be until Thursday.

Cheers,
Jes
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/