mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
Merge branch 'for-4.16-print-symbol' into for-4.16
This commit is contained in:
commit
51ccbb0ae8
17 changed files with 31 additions and 79 deletions
|
|
@ -429,17 +429,6 @@ int sprint_backtrace(char *buffer, unsigned long address)
|
|||
return __sprint_symbol(buffer, address, -1, 1);
|
||||
}
|
||||
|
||||
/* Look up a kernel symbol and print it to the kernel messages. */
|
||||
void __print_symbol(const char *fmt, unsigned long address)
|
||||
{
|
||||
char buffer[KSYM_SYMBOL_LEN];
|
||||
|
||||
sprint_symbol(buffer, address);
|
||||
|
||||
printk(fmt, buffer);
|
||||
}
|
||||
EXPORT_SYMBOL(__print_symbol);
|
||||
|
||||
/* To avoid using get_symbol_offset for every symbol, we carry prefix along. */
|
||||
struct kallsym_iter {
|
||||
loff_t pos;
|
||||
|
|
|
|||
Loading…
Reference in a new issue