summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2021-07-18 19:33:09 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-09-22 12:26:24 +0200
commit9315497b1750e7c316fddfbf46dff8e886c3671c (patch)
treec9f03de04cbb5305f44419b04c5cc8224192040c /kernel
parentf56ee9af23cc60a33b82a83411d34aceca7abfff (diff)
downloadlinux-stable-9315497b1750e7c316fddfbf46dff8e886c3671c.tar.gz
linux-stable-9315497b1750e7c316fddfbf46dff8e886c3671c.tar.bz2
linux-stable-9315497b1750e7c316fddfbf46dff8e886c3671c.zip
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: 9d02a4283e9c ("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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions