[PATCH] c6x: kernel: setup: Export symbol memory_end
From: Chen Gang
Date: Wed Mar 04 2015 - 01:37:14 EST
It is needed by several modules, the related error with allmodconfig:
MODPOST 3327 modules
ERROR: "memory_end" [net/wireless/lib80211_crypt_tkip.ko] undefined!
ERROR: "memory_end" [net/sunrpc/sunrpc.ko] undefined!
ERROR: "memory_end" [net/sunrpc/auth_gss/rpcsec_gss_krb5.ko] undefined!
ERROR: "memory_end" [net/rxrpc/rxkad.ko] undefined!
ERROR: "memory_end" [net/mac802154/mac802154.ko] undefined!
ERROR: "memory_end" [net/mac80211/mac80211.ko] undefined!
ERROR: "memory_end" [net/ipv6/esp6.ko] undefined!
ERROR: "memory_end" [net/ipv6/ah6.ko] undefined!
ERROR: "memory_end" [net/ipv4/esp4.ko] undefined!
ERROR: "memory_end" [net/ipv4/ah4.ko] undefined!
ERROR: "memory_end" [net/ceph/libceph.ko] undefined!
ERROR: "memory_end" [net/9p/9pnet_virtio.ko] undefined!
ERROR: "memory_end" [drivers/usb/wusbcore/wusbcore.ko] undefined!
ERROR: "memory_end" [drivers/usb/misc/usbtest.ko] undefined!
ERROR: "memory_end" [drivers/usb/core/usbcore.ko] undefined!
ERROR: "memory_end" [drivers/target/target_core_file.ko] undefined!
ERROR: "memory_end" [drivers/net/wireless/brcm80211/brcmfmac/brcmfmac.ko] undefined!
ERROR: "memory_end" [drivers/net/wireless/ath/ath6kl/ath6kl_sdio.ko] undefined!
ERROR: "memory_end" [drivers/net/virtio_net.ko] undefined!
ERROR: "memory_end" [drivers/net/usb/usbnet.ko] undefined!
ERROR: "memory_end" [drivers/net/ppp/ppp_mppe.ko] undefined!
ERROR: "memory_end" [drivers/mtd/nand/nand.ko] undefined!
ERROR: "memory_end" [drivers/mmc/card/mmc_block.ko] undefined!
ERROR: "memory_end" [drivers/crypto/qce/qcrypto.ko] undefined!
ERROR: "memory_end" [drivers/block/drbd/drbd.ko] undefined!
ERROR: "memory_end" [drivers/block/aoe/aoe.ko] undefined!
ERROR: "memory_end" [crypto/tcrypt.ko] undefined!
ERROR: "memory_end" [crypto/gcm.ko] undefined!
ERROR: "memory_end" [crypto/cts.ko] undefined!
ERROR: "memory_end" [crypto/ccm.ko] undefined!
ERROR: "memory_end" [crypto/authencesn.ko] undefined!
ERROR: "memory_end" [crypto/authenc.ko] undefined!
Signed-off-by: Chen Gang <gang.chen.5i5j@xxxxxxxxx>
---
arch/c6x/kernel/setup.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/c6x/kernel/setup.c b/arch/c6x/kernel/setup.c
index 165bbd9..72e17f7 100644
--- a/arch/c6x/kernel/setup.c
+++ b/arch/c6x/kernel/setup.c
@@ -63,6 +63,7 @@ unsigned char c6x_fuse_mac[6];
unsigned long memory_start;
unsigned long memory_end;
+EXPORT_SYMBOL(memory_end);
unsigned long ram_start;
unsigned long ram_end;
--
1.9.3
--
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/