]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arch/unicore32/kernel/ksyms.c: remove 2 export symbols to avoid compiling failure
authorChen Gang <gang.chen.5i5j@gmail.com>
Wed, 21 May 2014 00:57:53 +0000 (08:57 +0800)
committerGuan Xuetao <gxt@mprc.pku.edu.cn>
Thu, 29 May 2014 06:52:51 +0000 (14:52 +0800)
commite004aec5dd8e367d0b020644fd8ec5cdfc3585cc
treeb192853e976abf38ac149a6a0fe8c80b5af3b395
parenta0c9f049a393f3c7d84e954f147e2e6baf8092f2
arch/unicore32/kernel/ksyms.c: remove 2 export symbols to avoid compiling failure

'csum_partial' and 'csum_partial_copy_from_user' have already been
exported in "lib/", so need not export them again, or it will cause
compiling error.

The related error (with allmodconfig under unicore32):

    LD      vmlinux.o
  lib/built-in.o:(___ksymtab+csum_partial+0x0): multiple definition of `__ksymtab_csum_partial'
  arch/unicore32/kernel/built-in.o:(___ksymtab+csum_partial+0x0): first defined here
  lib/built-in.o:(___ksymtab+csum_partial_copy_from_user+0x0): multiple definition of `__ksymtab_csum_partial_copy_from_user'
  arch/unicore32/kernel/built-in.o:(___ksymtab+csum_partial_copy_from_user+0x0): first defined here
  make: *** [vmlinux] Error 1

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