History

module: move struct symsearch to module.c

struct symsearch is only used inside of module.h, so move the definition out of module.h.

Christoph Hellwig committed 5 years ago

Commit 00cc2c11 parent 0b966152 files · +11 −11Browse files

Showing the changes to kernel (1 of 2 files). Show all

Unified · Split

kernel/module.c+11−0
@@ -428,6 +428,17 @@ extern const s32 __start___kcrctab_unused_gpl[]; · 427 unmodified lines
428428 #define symversion(base, idx) ((base != NULL) ? ((base) + (idx)) : NULL)
429429 #endif
430430
431+struct symsearch {
432+ const struct kernel_symbol *start, *stop;
433+ const s32 *crcs;
434+ enum mod_license {
435+ NOT_GPL_ONLY,
436+ GPL_ONLY,
437+ WILL_BE_GPL_ONLY,
438+ } license;
439+ bool unused;
440+};
441+
431442 struct find_symbol_arg {
432443 /* Input */
433444 const char *name;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t