mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
Revert "Linux:To speed up the startup process by setting some modules to start in parallel."
This reverts commit eb84064e14e8261be1aecc0b5bf77b5728902c31. Change-Id: I2ea6ea2e58de54142882324e44efa90d1c9ee639
This commit is contained in:
parent
5c659084e0
commit
31f393cf2e
12 changed files with 3 additions and 84 deletions
|
@ -22,11 +22,7 @@
|
|||
const char raid6_empty_zero_page[PAGE_SIZE] __attribute__((aligned(256)));
|
||||
EXPORT_SYMBOL(raid6_empty_zero_page);
|
||||
#endif
|
||||
#ifdef CONFIG_SPACEMIT_PARALLEL_BOOTING
|
||||
#include <linux/platform_device.h>
|
||||
#include <linux/of.h>
|
||||
#include <linux/async.h>
|
||||
#endif
|
||||
|
||||
struct raid6_calls raid6_call;
|
||||
EXPORT_SYMBOL_GPL(raid6_call);
|
||||
|
||||
|
@ -293,22 +289,7 @@ static void raid6_exit(void)
|
|||
do { } while (0);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_SPACEMIT_PARALLEL_BOOTING
|
||||
static void raid6_select_algo_wrapper(void *data, long long unsigned int arg)
|
||||
{
|
||||
raid6_select_algo();
|
||||
}
|
||||
|
||||
static int __init raid6_select_algo_async_init(void)
|
||||
{
|
||||
async_schedule(raid6_select_algo_wrapper, NULL);
|
||||
return 0;
|
||||
}
|
||||
|
||||
subsys_initcall(raid6_select_algo_async_init);
|
||||
#else
|
||||
subsys_initcall(raid6_select_algo);
|
||||
#endif
|
||||
module_exit(raid6_exit);
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_DESCRIPTION("RAID6 Q-syndrome calculations");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue