]> git.baikalelectronics.ru Git - kernel.git/commit
sunvnet: make sunvnet common code dynamically loadable
authorShannon Nelson <shannon.nelson@oracle.com>
Mon, 13 Feb 2017 18:56:57 +0000 (10:56 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Feb 2017 18:04:08 +0000 (13:04 -0500)
commit70d1483e007751a48a97309e1191bb5bf5068bee
tree6d89a039590bc490614e45c6cc250b9662c6e219
parentf4ab4577d41d5c2de9dbf96b72266dbd02f2918d
sunvnet: make sunvnet common code dynamically loadable

When the sunvnet_common code was split out for use by both sunvnet
and the newer ldmvsw, it was made into a static kernel library, which
limits the usefulness of sunvnet and ldmvsw as loadables, since most
of the real work is being done in the shared code.  Also, this is
simply dead code in kernels that aren't running the LDoms.

This patch makes the sunvnet_common into a dynamically loadable
module and makes sunvnet and ldmvsw dependent on sunvnet_common.

Signed-off-by: Shannon Nelson <shannon.nelson@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/Kconfig
drivers/net/ethernet/sun/sunvnet_common.c