Files
linux/arch/openrisc/kernel
Randy Dunlap 0f5eb49d17 openrisc: don't printk() unconditionally
[ Upstream commit 946e1052cd ]

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>
2023-05-16 11:45:20 +09:00
..
2023-05-15 16:06:57 +09:00
2014-09-03 13:11:02 +00:00
2013-04-08 17:39:27 +02:00
2011-07-22 18:46:41 +02:00
2023-05-16 11:05:11 +09:00
2011-07-22 18:46:34 +02:00