linux-brain/arch/nios2
Guenter Roeck 69e9107f29 nios2: ksyms: Add missing symbol exports
[ Upstream commit 0f8ed99457 ]

Building nios2:allmodconfig fails as follows (each symbol is only listed
once).

ERROR: "__ashldi3" [drivers/md/dm-writecache.ko] undefined!
ERROR: "__ashrdi3" [fs/xfs/xfs.ko] undefined!
ERROR: "__ucmpdi2" [drivers/media/i2c/adv7842.ko] undefined!
ERROR: "__lshrdi3" [drivers/md/dm-zoned.ko] undefined!
ERROR: "flush_icache_range" [drivers/misc/lkdtm/lkdtm.ko] undefined!
ERROR: "empty_zero_page" [drivers/md/dm-mod.ko] undefined!

The problem is seen with gcc 7.3.0.

Export the missing symbols.

Fixes: 2fc8483fdc ("nios2: Build infrastructure")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-27 14:50:30 +01:00
..
boot nios2: dts: Remove leading 0x and 0s from bindings notation 2018-02-11 23:04:47 +08:00
configs nios2: defconfig: Cleanup from old Kconfig options 2018-02-11 23:04:53 +08:00
include nios2: use generic dma_noncoherent_ops 2018-07-25 13:33:09 +02:00
kernel nios2: ksyms: Add missing symbol exports 2020-01-27 14:50:30 +01:00
lib nios2: memset: use the right constraint modifier for the %4 output operand 2016-04-27 16:35:55 +08:00
mm mm: convert return type of handle_mm_fault() caller to vm_fault_t 2018-08-17 16:20:28 -07:00
platform nios2: Add CDX support 2017-05-08 16:59:19 +08:00
Kconfig Consolidation of Kconfig files by Christoph Hellwig. 2018-08-15 13:05:12 -07:00
Kconfig.debug nios2: kconfig: remove duplicate DEBUG_STACK_USAGE symbol defintions 2018-08-27 09:47:20 +08:00
Makefile nios2: Add CDX support 2017-05-08 16:59:19 +08:00