History

module: Remove module_addr_min and module_addr_max

Replace module_addr_min and module_addr_max by mod_tree.addr_min and mod_tree.addr_max

Christophe Leroy committed 4 years ago

Commit 55ce5561 parent 01dc0381 file · +3 −3Browse files

Unified · Split

kernel/module/main.c+3−3
@@ -63,7 +63,7 @@ · 62 unmodified lines
6363 * Mutex protects:
6464 * 1) List of modules (also safely readable with preempt_disable),
6565 * 2) module_use links,
66− * 3) module_addr_min/module_addr_max.
66+ * 3) mod_tree.addr_min/mod_tree.addr_max.
6767 * (delete and add uses RCU list operations).
6868 */
6969 DEFINE_MUTEX(module_mutex);
@@ -2972,14 +2972,14 @@ static void cfi_init(struct module *mod) · 2902 unmodified lines
29722972 mod->exit = *exit;
29732973 #endif
29742974
2975− cfi_module_add(mod, module_addr_min);
2975+ cfi_module_add(mod, mod_tree.addr_min);
29762976 #endif
29772977 }
29782978
29792979 static void cfi_cleanup(struct module *mod)
29802980 {
29812981 #ifdef CONFIG_CFI_CLANG
2982− cfi_module_remove(mod, module_addr_min);
2982+ cfi_module_remove(mod, mod_tree.addr_min);
29832983 #endif
29842984 }
29852985

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