]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 6 Apr 2017 07:13:50 +0000 (00:13 -0700)
commitc32063ccdf4a8cb9d7414e53c956677cfb267e27
treea206e859b42003d98fa904a77f1e32f2292b6b70
parentedfef06d4734f0e157058f111f39b5bebe0a11d1
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.

Orabug: 23293104

Signed-off-by: Shannon Nelson <shannon.nelson@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 2493b842f258e14938f278e44ecc26970dfabbf0)
Signed-off-by: Allen Pais <allen.pais@oracle.com>
drivers/net/ethernet/sun/Kconfig
drivers/net/ethernet/sun/sunvnet_common.c