diff options
author | Simon Glass <sjg@chromium.org> | 2020-07-17 08:48:21 -0600 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2020-07-20 09:46:46 +0800 |
commit | 0538d6833cc61722ee506fab4609d9c1cf010491 (patch) | |
tree | e2f8957f458a8c32a4f6581e648281f9fc533353 /arch/x86/cpu/qemu | |
parent | 99a573fb326faf5a7bff50e4f9875f2066728d95 (diff) |
x86: mp: Add iterators for CPUs
It is convenient to iterate through the CPUs performing work on each one
and processing the result. Add a few iterator functions which handle this.
These can be used by any client code. It can call mp_run_on_cpus() on
each CPU that is returned, handling them one at a time.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/cpu/qemu')
0 files changed, 0 insertions, 0 deletions