complier.h: add __always_inline and use it in code base

Hardware / Coreboot - Aaron Durbin [chromium.org] - 14 September 2018 08:16 EDT

Add a __always_inline macro that wraps __attribute__((always_inline)) and replace current users with the macro, excluding files under src/vendorcode.

Change-Id: Ic57e474c1d2ca7cc0405ac677869f78a28d3e529

75a62e7648 complier.h: add __always_inline and use it in code base
src/arch/arm/include/arch/hlt.h | 4 ++-
src/arch/arm/include/smp/spinlock.h | 4 +--
src/arch/arm64/include/arch/hlt.h | 4 ++-
src/arch/mips/include/arch/hlt.h | 4 ++-
src/arch/power8/include/arch/hlt.h | 4 ++-
src/arch/riscv/include/arch/hlt.h | 4 ++-
src/arch/riscv/include/arch/io.h | 13 +++----
src/arch/x86/include/arch/cpu.h | 1 -
src/arch/x86/include/arch/hlt.h | 4 ++-
src/arch/x86/include/arch/io.h | 47 +++++++++++++-------------
src/arch/x86/include/arch/pci_io_cfg.h | 15 ++++----
src/arch/x86/include/arch/pci_mmio_cfg.h | 13 +++----
src/arch/x86/include/arch/smp/atomic.h | 6 ++--
src/arch/x86/include/arch/smp/spinlock.h | 8 +++--
src/commonlib/lz4_wrapper.c | 2 +-
src/cpu/amd/car/disable_cache_as_ram.c | 5 +--
src/cpu/amd/family_10h-family_15h/init_cpus.c | 3 +-
src/cpu/x86/smm/smihandler.c | 2 +-
src/include/compiler.h | 1 +
src/include/cpu/amd/mtrr.h | 6 ++--
src/include/cpu/x86/cache.h | 9 ++---
src/include/cpu/x86/cr.h | 15 ++++----
src/include/cpu/x86/lapic.h | 13 ++++---
src/include/cpu/x86/msr.h | 16 ++++-----
src/include/device/pci_ops.h | 13 +++----
src/northbridge/intel/e7505/raminit.c | 3 +-
src/soc/nvidia/tegra124/lp0/tegra_lp0_resume.c | 3 +-
src/soc/nvidia/tegra210/lp0/tegra_lp0_resume.c | 3 +-
28 files changed, 124 insertions(+), 101 deletions(-)

Upstream: review.coreboot.org


  • Share