commit | 0abbf2bfdc9dec32e9832aa8d4522a57d698e753 | [log] [tgz] |
---|---|---|
author | Yisheng Xie <xieyisheng1@huawei.com> | Thu May 31 19:11:25 2018 +0800 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Sun Jun 03 20:40:24 2018 +1000 |
tree | 1d28c07d8b4ed9f2fa15d6d44cb5b250d0fcef58 | |
parent | 2479bfc9bc600dcce7f932d52dcfa8d677c41f93 [diff] |
powerpc/xmon: use match_string() helper match_string() returns the index of an array for a matching string, which can be used instead of open coded variant. Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Yisheng Xie <xieyisheng1@huawei.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>