linux/arch/arm/lib
Russell King 8478132a87 Revert "arm: move exports to definitions"
This reverts commit 4dd1837d75.

Moving the exports for assembly code into the assembly files breaks
KSYM trimming, but also breaks modversions.

While fixing the KSYM trimming is trivial, fixing modversions brings
us to a technically worse position that we had prior to the above
change:

- We end up with the prototype definitions divorsed from everything
  else, which means that adding or removing assembly level ksyms
  become more fragile:
  * if adding a new assembly ksyms export, a missed prototype in
    asm-prototypes.h results in a successful build if no module in
    the selected configuration makes use of the symbol.
  * when removing a ksyms export, asm-prototypes.h will get forgotten,
    with armksyms.c, you'll get a build error if you forget to touch
    the file.

- We end up with the same amount of include files and prototypes,
  they're just in a header file instead of a .c file with their
  exports.

As for lines of code, we don't get much of a size reduction:
 (original commit)
 47 files changed, 131 insertions(+), 208 deletions(-)
 (fix for ksyms trimming)
 7 files changed, 18 insertions(+), 5 deletions(-)
 (two fixes for modversions)
 1 file changed, 34 insertions(+)
 3 files changed, 7 insertions(+), 2 deletions(-)
which results in a net total of only 25 lines deleted.

As there does not seem to be much benefit from this change of approach,
revert the change.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2016-11-23 10:00:03 +00:00
..
ashldi3.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
ashrdi3.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
backtrace.S ARM: fix backtrace 2016-11-15 15:25:39 +00:00
bitops.h Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
bswapsdi2.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
call_with_stack.S ARM: replace BSYM() with badr assembly macro 2015-05-08 17:33:50 +01:00
changebit.S ARM: 7171/1: unwind: add unwind directives to bitops assembly macros 2011-11-26 21:58:53 +00:00
clear_user.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
clearbit.S ARM: 7171/1: unwind: add unwind directives to bitops assembly macros 2011-11-26 21:58:53 +00:00
copy_from_user.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
copy_page.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
copy_template.S ARM: 8225/1: Add unwinding support for memory copy functions 2014-11-27 16:00:25 +00:00
copy_to_user.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
csumipv6.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
csumpartial.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
csumpartialcopy.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
csumpartialcopygeneric.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
csumpartialcopyuser.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
delay-loop.S ARM: 8306/1: loop_udelay: remove bogomips value limitation 2016-06-22 19:55:12 +01:00
delay.c Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
div64.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
ecard.S ARM: remove unnecessary mach/hardware.h includes 2011-07-12 11:19:27 -05:00
findbit.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
floppydma.S
getuser.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
io-acorn.S arch: remove direct definitions of KERN_<LEVEL> uses 2012-07-30 17:25:13 -07:00
io-readsb.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
io-readsl.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
io-readsw-armv3.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
io-readsw-armv4.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
io-writesb.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
io-writesl.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
io-writesw-armv3.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
io-writesw-armv4.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
lib1funcs.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
lshrdi3.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
Makefile ARM: 8306/1: loop_udelay: remove bogomips value limitation 2016-06-22 19:55:12 +01:00
memchr.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
memcpy.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
memmove.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
memset.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
memzero.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
muldi3.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
putuser.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
setbit.S ARM: 7171/1: unwind: add unwind directives to bitops assembly macros 2011-11-26 21:58:53 +00:00
strchr.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
strrchr.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
testchangebit.S ARM: 7171/1: unwind: add unwind directives to bitops assembly macros 2011-11-26 21:58:53 +00:00
testclearbit.S ARM: 7171/1: unwind: add unwind directives to bitops assembly macros 2011-11-26 21:58:53 +00:00
testsetbit.S ARM: 7171/1: unwind: add unwind directives to bitops assembly macros 2011-11-26 21:58:53 +00:00
uaccess_with_memcpy.c Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
ucmpdi2.S Revert "arm: move exports to definitions" 2016-11-23 10:00:03 +00:00
xor-neon.c ARM: 7835/2: fix modular build of xor_blocks() with NEON enabled 2013-09-09 15:24:47 +01:00