u-boot/include/linux
Tom Rini 1f1a0f3db3 compiler_types.h: Re-introduce CONFIG_OPTIMIZE_INLINING for U-Boot
In the Linux kernel, support for forcing inline functions to be made
inline, rather than allowing the compiler to make its own choice has
been removed.  With respect to performance, modern GCC (and Clang) do a
good job at deciding when to, or not to, inline code and there are no
run-time requirements in Linux anymore.

There is one downside to this, which is final binary size.  On average
in U-Boot removing this support grows SPL by almost 1 kilobyte.  But
there are cases where it shrinks the binary by making better inline
choices than we had forced.

Start by re-introducing CONFIG_OPTIMIZE_INLINING as a global which
essentially reverts 889b3c1245de ("compiler: remove CONFIG_OPTIMIZE_INLINING entirely")
from Linux.

Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
2020-07-01 11:48:05 -04:00
..
byteorder
clk clk: sifive: Sync-up WRPLL library with upstream Linux 2019-07-19 14:24:51 +08:00
mtd arm: Don't include common.h in header files 2020-05-18 14:54:24 -04:00
soc/ti common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
unaligned
usb usb: dwc3: amend UTMI/UTMIW phy interface setup 2020-05-29 18:13:19 +08:00
apm_bios.h
arm-smccc.h
asn1.h cmd: add asn1_compiler 2019-12-06 16:44:20 -05:00
asn1_ber_bytecode.h cmd: add asn1_compiler 2019-12-06 16:44:20 -05:00
asn1_decoder.h cmd: add asn1_compiler 2019-12-06 16:44:20 -05:00
bch.h
bitfield.h
bitmap.h lib: Import few bitmap functions from Linux 2020-01-20 10:10:28 +05:30
bitops.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
bitrev.h
bug.h
build_bug.h
clk-provider.h dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
compat.h arm: Don't include common.h in header files 2020-05-18 14:54:24 -04:00
compiler-clang.h compiler*.h: sync include/linux/compiler*.h with Linux 5.7-rc5 2020-07-01 11:48:05 -04:00
compiler-gcc.h compiler*.h: sync include/linux/compiler*.h with Linux 5.7-rc5 2020-07-01 11:48:05 -04:00
compiler-intel.h compiler*.h: sync include/linux/compiler*.h with Linux 5.7-rc5 2020-07-01 11:48:05 -04:00
compiler.h compiler*.h: sync include/linux/compiler*.h with Linux 5.7-rc5 2020-07-01 11:48:05 -04:00
compiler_attributes.h compiler*.h: sync include/linux/compiler*.h with Linux 5.7-rc5 2020-07-01 11:48:05 -04:00
compiler_types.h compiler_types.h: Re-introduce CONFIG_OPTIMIZE_INLINING for U-Boot 2020-07-01 11:48:05 -04:00
completion.h compat linux: import completion from linux 4.18 2019-04-22 11:55:58 -04:00
const.h
crc7.h
crc32.h
ctype.h
delay.h time: Update mdelay() to delay in one large chunk 2018-12-05 06:01:35 -07:00
dma-direction.h
dma-mapping.h dma-mapping: Add header file for ARCH_DMA_MINALIGN 2020-06-02 13:06:11 -04:00
drm_dp_helper.h
edd.h
err.h linux err: make ERR_PTR/PTR_ERR architecture specific 2019-11-07 18:01:13 -05:00
errno.h
ethtool.h
fb.h
if_ether.h
immap_qe.h mpc83xx: Introduce ARCH_MPC836* 2019-05-20 13:50:34 +02:00
input.h
io.h include: linux: io: define devm_ioremap on board with ioremap 2019-04-22 11:55:58 -04:00
ioctl.h
iopoll.h iopoll: Add readl_poll_sleep_timeout 2020-05-11 01:30:49 +05:30
ioport.h
kbuild.h
kconfig.h kconfig: doc: Update comment regarding CONFIG_IS_ENABLED(FOO) for TPL 2019-09-19 12:54:28 -04:00
kernel.h common: Move ROUND() into kernel.h 2020-01-17 17:53:52 -05:00
libfdt.h libfdt: split fdt_region declarations out to <fdt_region.h> 2020-04-26 14:24:08 -06:00
libfdt_env.h fdt: Add INT32_MAX to kernel.h for libfdt 2019-11-04 18:15:32 -07:00
linkage.h
linux_string.h
list.h list: import list_first_entry_or_null() 2019-11-07 00:24:59 +01:00
list_sort.h
log2.h
lzo.h
math64.h
mbus.h
mc146818rtc.h
mdio.h
mii.h common: Move mii_init() function out of common.h 2019-12-02 18:23:13 -05:00
netdevice.h
oid_registry.h lib: add oid registry utility 2019-12-06 16:44:20 -05:00
poison.h
posix_types.h
printk.h
psci.h psci: add 'static inline' to invoke_psci_fn() stub 2020-06-23 14:43:24 -04:00
rbtree.h
rbtree_augmented.h
screen_info.h
serial_reg.h
sizes.h
stat.h
stddef.h
string.h sandbox: Rename strdup() functions 2020-02-05 19:33:46 -07:00
stringify.h
time.h linux/time.h: include vsprintf.h 2019-12-06 16:44:19 -05:00
typecheck.h
types.h common: Move type declarations to linux/types.h 2020-01-17 13:27:25 -05:00
xxhash.h lib: Add xxhash support 2019-05-05 08:48:50 -04:00
zstd.h lib: add Zstandard decompression support 2019-05-05 08:48:50 -04:00