sparc64: enhance ldc_abort to print message
authorJag Raman <jag.raman@oracle.com>
Fri, 9 Jun 2017 16:29:29 +0000 (12:29 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Jun 2017 21:10:54 +0000 (14:10 -0700)
commit29693e75a823131a789b519150027e2d69fecab7
treee65a6be6660d7826a942fc656ea98b5cd3885fb3
parent85762a65c1106daa0930bc2ed0d7792511647168
sparc64: enhance ldc_abort to print message

Enhance ldc_abort to accept a message to be printed when it is called. Add
a macro, LDC_ABORT, to print info. about the function that calls ldc_abort.

Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Reviewed-by: Aaron Young <aaron.young@oracle.com>
Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Reviewed-by: Bijan Mottahedeh <bijan.mottahedeh@oracle.com>
Reviewed-by: Liam Merwick <liam.merwick@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/ldc.c