Skip to content
Commit d0729bc6 authored by Sergey Senozhatsky's avatar Sergey Senozhatsky Committed by Vineet Gupta
Browse files

arc: do not use __print_symbol()



__print_symbol() uses extra stack space to sprintf() symbol
information and then to feed that buffer to printk()

  char buffer[KSYM_SYMBOL_LEN];

  sprint_symbol(buffer, address);
  printk(fmt, buffer);

Replace __print_symbol() with a direct printk("%pS") call.

Signed-off-by: default avatarSergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent 329b4130
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment