lkml.org 
[lkml]   [2014]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC PATCH v1 11/70] x86, vsyscall_64: _FROZEN Cleanup
Date
Remove XXX_FROZEN state from x86/vsyscall_64.

Signed-off-by: Chen, Gong <gong.chen@linux.intel.com>
---
arch/x86/kernel/vsyscall_64.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/vsyscall_64.c b/arch/x86/kernel/vsyscall_64.c
index ea5b570..72a1576 100644
--- a/arch/x86/kernel/vsyscall_64.c
+++ b/arch/x86/kernel/vsyscall_64.c
@@ -320,7 +320,7 @@ cpu_vsyscall_notifier(struct notifier_block *n, unsigned long action, void *arg)
{
long cpu = (long)arg;

- if (action == CPU_ONLINE || action == CPU_ONLINE_FROZEN)
+ if ((action & ~CPU_TASKS_FROZEN) == CPU_ONLINE)
smp_call_function_single(cpu, cpu_vsyscall_init, NULL, 1);

return NOTIFY_DONE;
--
2.0.0.rc2


\
 
 \ /
  Last update: 2014-07-23 05:41    [W:0.521 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site