android_kernel_xiaomi_sm7250/arch
Randy Dunlap 9f58d402be openrisc: don't printk() unconditionally
[ Upstream commit 946e1052cdcc7e585ee5d1e72528ca49fb295243 ]

Don't call printk() when CONFIG_PRINTK is not set.
Fixes the following build errors:

or1k-linux-ld: arch/openrisc/kernel/entry.o: in function `_external_irq_handler':
(.text+0x804): undefined reference to `printk'
(.text+0x804): relocation truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `printk'

Fixes: 9d02a4283e ("OpenRISC: Boot code")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Cc: Jonas Bonn <jonas@southpole.se>
Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Cc: Stafford Horne <shorne@gmail.com>
Cc: openrisc@lists.librecores.org
Signed-off-by: Stafford Horne <shorne@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-22 11:48:01 +02:00
..
alpha alpha: Send stop IPI to send to online CPUs 2021-08-12 13:19:45 +02:00
arc ARC: Fix CONFIG_STACKDEPOT 2021-09-03 09:58:00 +02:00
arm ARM: 9105/1: atags_to_fdt: don't warn about stack size 2021-09-22 11:48:00 +02:00
arm64 arm64: head: avoid over-mapping in map_memory 2021-09-22 11:47:59 +02:00
c6x
h8300 h8300: fix PREEMPTION build, TI_PRE_COUNT undefined 2021-02-23 15:00:58 +01:00
hexagon hexagon: use common DISCARDS macro 2021-07-20 16:16:13 +02:00
ia64 ia64: mca_drv: fix incorrect array size calculation 2021-07-20 16:15:46 +02:00
m68k m68k: emu: Fix invalid free in nfeth_cleanup() 2021-09-22 11:47:50 +02:00
microblaze
mips bpf: Introduce BPF nospec instruction for mitigating Spectre v4 2021-09-22 11:47:58 +02:00
nds32 nds32: fix up stack guard gap 2021-07-28 11:13:51 +02:00
nios2
openrisc openrisc: don't printk() unconditionally 2021-09-22 11:48:01 +02:00
parisc parisc: avoid a warning on u8 cast for cmpxchg on u8 pointers 2021-04-14 08:22:33 +02:00
powerpc powerpc/stacktrace: Include linux/delay.h 2021-09-22 11:48:01 +02:00
riscv riscv: Workaround mcount name prior to clang-13 2021-05-22 10:59:49 +02:00
s390 bpf: Introduce BPF nospec instruction for mitigating Spectre v4 2021-09-22 11:47:58 +02:00
sh sh: dma: fix kconfig dependency for G2_DMA 2021-01-27 11:05:42 +01:00
sparc bpf: Introduce BPF nospec instruction for mitigating Spectre v4 2021-09-22 11:47:58 +02:00
um um: fix error return code in winch_tramp() 2021-07-20 16:16:13 +02:00
unicore32
x86 bpf: Introduce BPF nospec instruction for mitigating Spectre v4 2021-09-22 11:47:58 +02:00
xtensa xtensa: fix kconfig unmet dependency warning for HAVE_FUTEX_CMPXCHG 2021-09-22 11:47:45 +02:00
.gitignore
Kconfig