File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -590,15 +590,6 @@ struct symsearch {
590590 bool unused ;
591591};
592592
593- /*
594- * Walk the exported symbol table
595- *
596- * Must be called with module_mutex held or preemption disabled.
597- */
598- bool each_symbol_section (bool (* fn )(const struct symsearch * arr ,
599- struct module * owner ,
600- void * data ), void * data );
601-
602593/* Returns 0 and fills in value, defined and namebuf, or -ERANGE if
603594 symnum out of range. */
604595int module_get_kallsym (unsigned int symnum , unsigned long * value , char * type ,
Original file line number Diff line number Diff line change @@ -422,7 +422,7 @@ static bool each_symbol_in_section(const struct symsearch *arr,
422422}
423423
424424/* Returns true as soon as fn returns true, otherwise false. */
425- bool each_symbol_section (bool (* fn )(const struct symsearch * arr ,
425+ static bool each_symbol_section (bool (* fn )(const struct symsearch * arr ,
426426 struct module * owner ,
427427 void * data ),
428428 void * data )
@@ -484,7 +484,6 @@ bool each_symbol_section(bool (*fn)(const struct symsearch *arr,
484484 }
485485 return false;
486486}
487- EXPORT_SYMBOL_GPL (each_symbol_section );
488487
489488struct find_symbol_arg {
490489 /* Input */
You can’t perform that action at this time.
0 commit comments