Comments

Create a new file lib/ksyms.c and add export of
all symbols defined in assembler in lib/ to this file.
Remove the duplicate entries from kernel/sparc_ksyms_*.c
The rationale behind this is that the EXPORT_SYMBOL()
should be close to their definition and we cannot
add designate a symbol to be exported in assembler
so at least put it in a file in the same directory.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
---
arch/sparc/kernel/sparc_ksyms_32.c | 86 -----------------
arch/sparc/kernel/sparc_ksyms_64.c | 100 --------------------
arch/sparc/lib/Makefile | 1 +
arch/sparc/lib/ksyms.c | 180 ++++++++++++++++++++++++++++++++++++
4 files changed, 181 insertions(+), 186 deletions(-)
create mode 100644 arch/sparc/lib/ksyms.c