1
0
Fork 0
alistair23-linux/arch/nios2/kernel
Guenter Roeck 0f8ed99457 nios2: ksyms: Add missing symbol exports
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>
2019-03-07 05:29:35 +08:00
..
.gitignore nios2: add .gitignore entries for auto-generated files 2017-05-08 16:59:19 +08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
asm-offsets.c nios2: asm-offsets: Remove unused definition TI_TASK 2014-12-08 12:56:12 +08:00
cpuinfo.c nios2: get cpu node with of_get_cpu_node 2018-09-28 14:25:58 -05:00
entry.S nios2: rework trap handler 2015-04-20 11:11:14 +08:00
head.S nios2: Kernel booting and initialization 2014-12-08 12:55:49 +08:00
insnemu.S nios2: Traps exception handling 2014-12-08 12:55:50 +08:00
irq.c nios2: constify irq_domain_ops 2017-05-08 16:59:19 +08:00
kgdb.c kgdb/treewide: constify struct kgdb_arch arch_kgdb_ops 2018-12-30 08:33:06 +00:00
misaligned.c nios2: remove unused statistic counters 2015-09-08 01:32:34 +08:00
module.c module: remove mod arg from module_free, rename module_memfree(). 2015-01-20 11:38:33 +10:30
nios2_ksyms.c nios2: ksyms: Add missing symbol exports 2019-03-07 05:29:35 +08:00
process.c sched/headers: Prepare to remove the <linux/mm_types.h> dependency from <linux/sched.h> 2017-03-02 08:42:37 +01:00
prom.c mm: remove include/linux/bootmem.h 2018-10-31 08:54:16 -07:00
ptrace.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/task_stack.h> 2017-03-02 08:42:36 +01:00
setup.c mm: remove include/linux/bootmem.h 2018-10-31 08:54:16 -07:00
signal.c Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
sys_nios2.c nios2: System calls handling 2014-12-08 12:55:58 +08:00
syscall_table.c nios2: System calls handling 2014-12-08 12:55:58 +08:00
time.c nios2: Convert to using %pOFn instead of device_node.name 2018-09-28 16:39:27 -05:00
traps.c signal/nios2: Use force_sig_fault where appropriate 2018-04-25 10:44:04 -05:00
vmlinux.lds.S nmi_backtrace: generate one-line reports for idle cpus 2016-10-07 18:46:30 -07:00