]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] fix static linking of NFS
authorDavid Brownell <david-b@pacbell.net>
Tue, 27 Jun 2006 19:59:15 +0000 (12:59 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 27 Jun 2006 21:07:19 +0000 (14:07 -0700)
commit266bee88699ddbde42ab303bbc426a105cc49809
tree2d2b57f869321e177caf173af8d43b5d88c4a79d
parente7374e48009a15a680d53bd1f9828b9b79a8aac9
[PATCH] fix static linking of NFS

Builds on ARM report link problems with common configurations like
statically linked NFS (for nfsroot).  The symptom is that __init
section code references __exit section code; that won't work since
the exit sections are discarded (since they can never be called).

The best fix for these particular cases would be an "__init_or_exit"
section annotation.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/nfs/direct.c
fs/nfs/inode.c
fs/nfs/internal.h
fs/nfs/pagelist.c
fs/nfs/read.c
fs/nfs/write.c