projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3347fa0
)
mce, workqueue: remove keventd_up() usage
author
Tejun Heo
<tj@kernel.org>
Fri, 16 Sep 2016 19:49:32 +0000
(15:49 -0400)
committer
Tejun Heo
<tj@kernel.org>
Sat, 17 Sep 2016 17:18:21 +0000
(13:18 -0400)
Now that workqueue can handle work item queueing from very early
during boot, there is no need to gate schedule_work() with
keventd_up(). Remove it.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: linux-edac@vger.kernel.org
arch/x86/kernel/cpu/mcheck/mce.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/cpu/mcheck/mce.c
b/arch/x86/kernel/cpu/mcheck/mce.c
index 79d8ec849468e70ab42d7f5bfc19497578208a79..675b7d8cde0a5251da789d8da715f44ed1bf38d4 100644
(file)
--- a/
arch/x86/kernel/cpu/mcheck/mce.c
+++ b/
arch/x86/kernel/cpu/mcheck/mce.c
@@
-491,7
+491,7
@@
int mce_available(struct cpuinfo_x86 *c)
static void mce_schedule_work(void)
{
- if (!mce_gen_pool_empty()
&& keventd_up()
)
+ if (!mce_gen_pool_empty())
schedule_work(&mce_work);
}