History

[PATCH] Change synchronize_kernel to _rcu and _sched

This patch changes calls to synchronize_kernel(), deprecated in the earlier "Deprecate synchronize_kernel, GPL replacement" patch to instead call the new synchronize_rcu() and synchronize_sched() APIs.

Paul E. McKenney committed 21 years ago

Commit fbd568a1 parent 9b06e8116 files · +18 −18Browse files

Showing the changes to kernel/module.c (1 of 16 files). Show all

Unified · Split

kernel/module.c+1−1
@@ -1801,7 +1801,7 @@ sys_init_module(void __user *umod, · 1800 unmodified lines
18011801 /* Init routine failed: abort. Try to protect us from
18021802 buggy refcounters. */
18031803 mod->state = MODULE_STATE_GOING;
1804− synchronize_kernel();
1804+ synchronize_sched();
18051805 if (mod->unsafe)
18061806 printk(KERN_ERR "%s: module is now stuck!\n",
18071807 mod->name);