summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/x86.h
diff options
context:
space:
mode:
authorYisheng Xie <xieyisheng1@huawei.com>2018-05-31 14:11:19 +0300
committerIngo Molnar <mingo@kernel.org>2018-06-21 16:45:31 +0300
commit8f894bf47dc9e8b77166125a084a7217693a28cd (patch)
tree302826513c9959972eea49da9b93d9b0d87dfbc1 /arch/x86/kvm/x86.h
parentb3dae109fa89d67334bf3349babab3ad9b6f233f (diff)
downloadlinux-8f894bf47dc9e8b77166125a084a7217693a28cd.tar.xz
sched/debug: Use match_string() helper instead of open-coded logic
match_string() returns the index of an array for a matching string, which can be used instead of the open coded variant. Signed-off-by: Yisheng Xie <xieyisheng1@huawei.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/lkml/1527765086-19873-15-git-send-email-xieyisheng1@huawei.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kvm/x86.h')
0 files changed, 0 insertions, 0 deletions