[Devel] [PATCH][NETNS] Move some code into __init section when CONFIG_NET_NS=n

David Miller davem at davemloft.net
Mon Oct 8 00:30:41 PDT 2007


From: David Miller <davem at davemloft.net>
Date: Mon, 08 Oct 2007 00:17:16 -0700 (PDT)

> I'm going to apply Pavel's patch, if you want to touch it up do so
> as a followon patch, thanks!

Actually, I take that back, it doesn't even build, I'm therefore
removing the patch:

  LD      .tmp_vmlinux1
`.exit.text' referenced in section `.init.data' of fs/built-in.o: defined in discarded section `.exit.text' of fs/built-in.o
`.exit.text' referenced in section `.init.data' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o
`.exit.text' referenced in section `.init.data' of net/built-in.o: defined in discarded section `.exit.text' of net/built-in.o
`.exit.text' referenced in section `.init.data' of net/built-in.o: defined in discarded section `.exit.text' of net/built-in.o
`.exit.text' referenced in section `.init.data' of net/built-in.o: defined in discarded section `.exit.text' of net/built-in.o
`.exit.text' referenced in section `.init.data' of net/built-in.o: defined in discarded section `.exit.text' of net/built-in.o
`.exit.text' referenced in section `.init.data' of net/built-in.o: defined in discarded section `.exit.text' of net/built-in.o
make: *** [.tmp_vmlinux1] Error 1

Please fix this up and resubmit if you like.




More information about the Devel mailing list