diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2008-04-13 21:54:34 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-13 21:54:34 -0700 |
commit | 2cf83afe902fd72ef4b211774e48ab39890fb328 (patch) | |
tree | 243632f455cda34b0a9ecf6e8a34d435ccfcefca /net | |
parent | ac6f78192054784f02dd47f8e6d7d1c8d75ab173 (diff) | |
download | linux-2cf83afe902fd72ef4b211774e48ab39890fb328.tar.bz2 |
[ATM] drivers/atm/horizon.c: stop inlining largish static functions
drivers/atm/horizon.c has unusually large number
of static inline functions - 36.
I looked through them. Most of them seems to be small enough,
but a few are big, others are using udelay or busy loop,
and as such are better not be inlined.
This patch removes "inline" from these static functions
(regardless of number of callsites - gcc nowadays auto-inlines
statics with one callsite).
Size difference for 32bit x86:
text data bss dec hex filename
8201 180 6 8387 20c3 linux-2.6-ALLYES/drivers/atm/horizon.o
7840 180 6 8026 1f5a linux-2.6.inline-ALLYES/drivers/atm/horizon.o
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions