diff options
author | Randy Dunlap <[email protected]> | 2021-07-18 19:33:09 -0700 |
---|---|---|
committer | Stafford Horne <[email protected]> | 2021-08-05 10:52:36 +0900 |
commit | 946e1052cdcc7e585ee5d1e72528ca49fb295243 (patch) | |
tree | 234929db364cc432ad75536dfd93009a49cd4890 /net/lapb/lapb_timer.c | |
parent | c500bee1c5b2f1d59b1081ac879d73268ab0ff17 (diff) |
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 <[email protected]>
Reported-by: kernel test robot <[email protected]>
Cc: Jonas Bonn <[email protected]>
Cc: Stefan Kristiansson <[email protected]>
Cc: Stafford Horne <[email protected]>
Cc: [email protected]
Signed-off-by: Stafford Horne <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions