]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
sparc: Use vsprintf extention %pf with builtin_return_address
authorJoe Perches <joe@perches.com>
Tue, 28 Feb 2012 21:08:02 +0000 (16:08 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Feb 2012 21:08:02 +0000 (16:08 -0500)
commite9b57cca3dbdc7a0b90514af8bf613baf97105a5
tree48b8ff9e570226c3ffafc3738de48f0d6c2cb057
parentb4096504c2b6945c41eae99f85f4ec64ac19bfce
sparc: Use vsprintf extention %pf with builtin_return_address

Emit the function name not the address when possible.

builtin_return_address() gives an address.  When building
a kernel with CONFIG_KALLSYMS, emit the actual function
name not the address.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/ds.c
arch/sparc/mm/srmmu.c