linux/arch/arm
Randy Dunlap 6845376713 ARM: Spectre-BHB: provide empty stub for non-config
When CONFIG_GENERIC_CPU_VULNERABILITIES is not set, references
to spectre_v2_update_state() cause a build error, so provide an
empty stub for that function when the Kconfig option is not set.

Fixes this build error:

  arm-linux-gnueabi-ld: arch/arm/mm/proc-v7-bugs.o: in function `cpu_v7_bugs_init':
  proc-v7-bugs.c:(.text+0x52): undefined reference to `spectre_v2_update_state'
  arm-linux-gnueabi-ld: proc-v7-bugs.c:(.text+0x82): undefined reference to `spectre_v2_update_state'

Fixes: b9baf5c8c5 ("ARM: Spectre-BHB workaround")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Cc: Russell King <rmk+kernel@armlinux.org.uk>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: patches@armlinux.org.uk
Acked-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2022-03-11 12:42:49 -08:00
..
boot ARM: SoC fixes for 5.17, part 3 2022-03-10 11:43:01 -08:00
common
configs mm: remove cleancache 2022-01-22 08:33:38 +02:00
crypto lib/crypto: blake2s: avoid indirect calls to compression function for Clang CFI 2022-02-04 19:22:32 +01:00
include ARM: Spectre-BHB: provide empty stub for non-config 2022-03-11 12:42:49 -08:00
kernel ARM: fix Thumb2 regression with Spectre BHB 2022-03-11 11:40:08 -08:00
lib
mach-actions
mach-alpine ARM: alpine: Drop unneeded select of HAVE_SMP 2020-05-15 23:27:37 +02:00
mach-artpec
mach-asm9260
mach-aspeed
mach-at91 ARM: at91: pm: Add of_node_put() before goto 2021-12-08 14:01:16 +01:00
mach-axxia
mach-bcm
mach-berlin
mach-clps711x
mach-cns3xxx
mach-davinci
mach-digicolor
mach-dove
mach-ep93xx ep93xx: clock: convert in-place to COMMON_CLK 2021-10-20 17:46:36 +02:00
mach-exynos
mach-footbridge
mach-gemini
mach-highbank
mach-hisi
mach-imx
mach-integrator
mach-iop32x arm: ioremap: Replace pci_ioremap_io() usage by pci_remap_iospace() 2021-12-07 17:36:16 +00:00
mach-ixp4xx
mach-keystone
mach-lpc18xx
mach-lpc32xx
mach-mediatek
mach-meson
mach-milbeaut
mach-mmp
mach-moxart
mach-mstar ARM: mstar: Select HAVE_ARM_ARCH_TIMER 2022-03-01 13:26:32 +01:00
mach-mv78xx0
mach-mvebu of: net: pass the dst buffer to of_get_mac_address() 2021-04-13 14:35:02 -07:00
mach-mxs ARM: mxs: Add serial number support for i.MX23, i.MX28 SoCs 2020-11-30 17:31:29 +08:00
mach-nomadik
mach-npcm
mach-nspire
mach-omap1
mach-omap2 ARM: OMAP2+: adjust the location of put_device() call in omapdss_init_of 2021-12-17 14:08:59 +02:00
mach-orion5x
mach-oxnas
mach-pxa
mach-qcom
mach-rda
mach-realtek
mach-realview
mach-rockchip
mach-rpc
mach-s3c
mach-s5pv210
mach-sa1100
mach-shmobile
mach-socfpga ARM: socfpga: fix missing RESET_CONTROLLER 2022-02-07 03:54:42 -06:00
mach-spear
mach-sti
mach-stm32
mach-sunxi
mach-tegra
mach-uniphier
mach-ux500
mach-versatile
mach-vexpress
mach-vt8500
mach-zynq
mm ARM: fix build warning in proc-v7-bugs.c 2022-03-10 04:03:17 -08:00
net
nwfpe
plat-omap
plat-orion
plat-pxa
plat-versatile
probes ARM: 9170/1: fix panic when kasan and kprobe are enabled 2022-01-19 11:10:53 +00:00
tools mm/mempolicy: wire up syscall set_mempolicy_home_node 2022-01-15 16:30:30 +02:00
vdso
vfp
xen arm/xen: Read extended regions from DT and init Xen resource 2022-01-06 09:53:41 +01:00
Kbuild
Kconfig ftrace: Have architectures opt-in for mcount build time sorting 2022-01-27 19:15:44 -05:00
Kconfig-nommu
Kconfig.assembler
Kconfig.debug Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
Makefile