]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arch: unicore32: kernel: ksyms: remove 'bswapsi2' and 'muldi3' to avoid compiling...
authorChen Gang <gang.chen.5i5j@gmail.com>
Wed, 21 May 2014 01:37:08 +0000 (09:37 +0800)
committerGuan Xuetao <gxt@mprc.pku.edu.cn>
Thu, 29 May 2014 06:53:04 +0000 (14:53 +0800)
commit02e1d301dc09a0268960c7174eb8941006939835
tree08fc2f38bfdb3f88e92b80e1e1dab0094b548cc8
parente004aec5dd8e367d0b020644fd8ec5cdfc3585cc
arch: unicore32: kernel: ksyms: remove 'bswapsi2' and 'muldi3' to avoid compiling failure

After check the code, 'bswapsi2' and 'muldi3' are useless for
unicore32, so can remove them to avoid compiling failure.

The related error (with allmodconfig under unicore32):

    LD      init/built-in.o
  arch/unicore32/kernel/built-in.o:(___ksymtab+__muldi3+0x0): undefined reference to `__muldi3'
  arch/unicore32/kernel/built-in.o:(___ksymtab+__bswapsi2+0x0): undefined reference to `__bswapsi2'

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Acked-by: Xuetao Guan <gxt@mprc.pku.edu.cn>
Signed-off-by: Xuetao Guan <gxt@mprc.pku.edu.cn>
arch/unicore32/kernel/ksyms.c
arch/unicore32/kernel/ksyms.h