mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
Merge branch 'bkl/core' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing
* 'bkl/core' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing: do_coredump: Do not take BKL init: Remove the BKL from startup code
This commit is contained in:
commit
78417334b5
3 changed files with 0 additions and 20 deletions
|
@ -441,7 +441,6 @@ static noinline void __init_refok rest_init(void)
|
|||
kthreadd_task = find_task_by_pid_ns(pid, &init_pid_ns);
|
||||
rcu_read_unlock();
|
||||
complete(&kthreadd_done);
|
||||
unlock_kernel();
|
||||
|
||||
/*
|
||||
* The boot idle thread must execute schedule()
|
||||
|
@ -563,7 +562,6 @@ asmlinkage void __init start_kernel(void)
|
|||
* Interrupts are still disabled. Do necessary setups, then
|
||||
* enable them
|
||||
*/
|
||||
lock_kernel();
|
||||
tick_init();
|
||||
boot_cpu_init();
|
||||
page_address_init();
|
||||
|
@ -820,7 +818,6 @@ static noinline int init_post(void)
|
|||
/* need to finish all async __init code before freeing the memory */
|
||||
async_synchronize_full();
|
||||
free_initmem();
|
||||
unlock_kernel();
|
||||
mark_rodata_ro();
|
||||
system_state = SYSTEM_RUNNING;
|
||||
numa_default_policy();
|
||||
|
@ -860,8 +857,6 @@ static int __init kernel_init(void * unused)
|
|||
* Wait until kthreadd is all set-up.
|
||||
*/
|
||||
wait_for_completion(&kthreadd_done);
|
||||
lock_kernel();
|
||||
|
||||
/*
|
||||
* init can allocate pages on any node
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue