diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-07 20:06:54 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-07 20:06:54 -0400 |
commit | 78417334b5cb6e1f915b8fdcc4fce3f1a1b4420c (patch) | |
tree | 8e3fce9f27fd058904c0a3247a5c5ebb8df9fbe8 /kernel/trace | |
parent | cd816a0d84377c4e87f55cbe934a23417f9f5743 (diff) | |
parent | 5f202bd5ca64132cdd7f186656bc0221f257733d (diff) |
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
Diffstat (limited to 'kernel/trace')
-rw-r--r-- | kernel/trace/trace.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index ed1032d6f81d..ba14a22be4cc 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c | |||
@@ -741,13 +741,6 @@ __acquires(kernel_lock) | |||
741 | return -1; | 741 | return -1; |
742 | } | 742 | } |
743 | 743 | ||
744 | /* | ||
745 | * When this gets called we hold the BKL which means that | ||
746 | * preemption is disabled. Various trace selftests however | ||
747 | * need to disable and enable preemption for successful tests. | ||
748 | * So we drop the BKL here and grab it after the tests again. | ||
749 | */ | ||
750 | unlock_kernel(); | ||
751 | mutex_lock(&trace_types_lock); | 744 | mutex_lock(&trace_types_lock); |
752 | 745 | ||
753 | tracing_selftest_running = true; | 746 | tracing_selftest_running = true; |
@@ -829,7 +822,6 @@ __acquires(kernel_lock) | |||
829 | #endif | 822 | #endif |
830 | 823 | ||
831 | out_unlock: | 824 | out_unlock: |
832 | lock_kernel(); | ||
833 | return ret; | 825 | return ret; |
834 | } | 826 | } |
835 | 827 | ||