[RFC PATCH v1 11/70] x86, vsyscall_64: _FROZEN Cleanup

From: Chen, Gong
Date: Tue Jul 22 2014 - 22:32:20 EST


Remove XXX_FROZEN state from x86/vsyscall_64.

Signed-off-by: Chen, Gong <gong.chen@xxxxxxxxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/