diff options
author | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | 2010-09-13 17:47:00 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-09-14 07:23:45 -0400 |
commit | 7740191cd909b75d75685fb08a5d1f54b8a9d28b (patch) | |
tree | 6a45de73bc9958d46b638d9e031a2be85568f0a4 /arch/x86/kvm/emulate.c | |
parent | 637bbdc5b83615ef9f45f50399d1c7f27473c713 (diff) |
sched: Fix string comparison in /proc/sched_features
Fix incorrect handling of the following case:
INTERACTIVE
INTERACTIVE_SOMETHING_ELSE
The comparison only checks up to each element's length.
Changelog since v1:
- Embellish using some Rostedtisms.
[ mingo: ^^ == smaller and cleaner ]
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
Cc: <stable@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Tony Lindgren <tony@atomide.com>
LKML-Reference: <20100913214700.GB16118@Krystal>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kvm/emulate.c')
0 files changed, 0 insertions, 0 deletions