diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2021-07-19 05:33:09 +0300 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2021-08-05 04:52:36 +0300 |
commit | 946e1052cdcc7e585ee5d1e72528ca49fb295243 (patch) | |
tree | 234929db364cc432ad75536dfd93009a49cd4890 /arch/openrisc/kernel/setup.c | |
parent | c500bee1c5b2f1d59b1081ac879d73268ab0ff17 (diff) | |
download | linux-946e1052cdcc7e585ee5d1e72528ca49fb295243.tar.xz |
openrisc: don't printk() unconditionally
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>
Diffstat (limited to 'arch/openrisc/kernel/setup.c')
0 files changed, 0 insertions, 0 deletions