lkml.org 
[lkml]   [2013]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 00/21] Exported funtions that are marked inline
Date
Hello everyone,
this is a patchset to remove inline marking of exported functions.
Patchset is motivated by
https://lkml.org/lkml/2012/5/10/545 (af3b56289)

I run some tests and inspect the binaries. (You can find the tests
here: https://bitbucket.org/evdenis/tests/src) And it seems (at least
on my configuration) that EXPORT_SYMBOL completely revokes inline
directive. GCC can handle this, but other compilers may be confused
by these two directives. Anyway, you can't inline function that you
expect not to be available for modules with incompatible license and
to be available for the rest.

The tool I use to check the sources:
https://bitbucket.org/evdenis/export_checking.git

arch/arm/mach-sa1100/jornada720_ssp.c | 2 +-
arch/arm64/lib/delay.c | 2 +-
arch/cris/arch-v32/kernel/cache.c | 2 +-
arch/m68k/sun3/sun3dvma.c | 2 +-
arch/metag/lib/delay.c | 2 +-
arch/mips/pmcs-msp71xx/msp_prom.c | 2 +-
arch/openrisc/lib/delay.c | 2 +-
arch/powerpc/platforms/ps3/spu.c | 2 +-
arch/sparc/prom/tree_64.c | 14 +++++++-------
arch/tile/lib/spinlock_32.c | 2 +-
arch/x86/lib/delay.c | 2 +-
arch/x86/um/delay.c | 2 +-
drivers/dma/dw_dmac.c | 4 ++--
drivers/net/wireless/iwlegacy/common.c | 2 +-
drivers/scsi/libiscsi.c | 2 +-
drivers/scsi/libiscsi_tcp.c | 8 ++++----
drivers/staging/nvec/nvec.c | 2 +-
fs/bio.c | 2 +-
fs/block_dev.c | 2 +-
fs/buffer.c | 2 +-
mm/filemap.c | 2 +-
net/9p/client.c | 4 ++--
net/ipv4/ip_output.c | 2 +-
net/netfilter/nf_nat_core.c | 2 +-
net/nfc/core.c | 2 +-
25 files changed, 36 insertions(+), 36 deletions(-)


\
 
 \ /
  Last update: 2013-05-09 11:01    [W:0.149 / U:0.104 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site