From 072d1475680ac70827556cf87b8ef7ce1bfbc0c8 Mon Sep 17 00:00:00 2001 From: Lukas Larsson Date: Tue, 19 Feb 2013 17:44:27 +0100 Subject: Fix bug where +sws proposal was still allowed to be set This only applied to non-smp systems --- erts/emulator/beam/erl_process.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c index 96af19fb83..00247b387a 100644 --- a/erts/emulator/beam/erl_process.c +++ b/erts/emulator/beam/erl_process.c @@ -4311,8 +4311,7 @@ erts_sched_set_wakeup_other_type(char *str) wakeup_other.type = type; return 0; #else - if (sys_strcmp(str, "proposal") == 0 || sys_strcmp(str, "default") == 0 || - sys_strcmp(str, "legacy") == 0) { + if (sys_strcmp(str, "default") == 0 || sys_strcmp(str, "legacy") == 0) { return 0; } return EINVAL; -- cgit v1.2.3