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
|
@ -28,7 +28,6 @@
|
|||
#include <linux/mm.h>
|
||||
#include <linux/stat.h>
|
||||
#include <linux/fcntl.h>
|
||||
#include <linux/smp_lock.h>
|
||||
#include <linux/swap.h>
|
||||
#include <linux/string.h>
|
||||
#include <linux/init.h>
|
||||
|
@ -1892,13 +1891,7 @@ void do_coredump(long signr, int exit_code, struct pt_regs *regs)
|
|||
*/
|
||||
clear_thread_flag(TIF_SIGPENDING);
|
||||
|
||||
/*
|
||||
* lock_kernel() because format_corename() is controlled by sysctl, which
|
||||
* uses lock_kernel()
|
||||
*/
|
||||
lock_kernel();
|
||||
ispipe = format_corename(corename, signr);
|
||||
unlock_kernel();
|
||||
|
||||
if (ispipe) {
|
||||
int dump_count;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue