summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2020-07-17 08:48:19 -0600
committerBin Meng <[email protected]>2020-07-20 09:46:45 +0800
commit84d3ed125ad91c5973c4a071be5eea913bea34e5 (patch)
tree711c06c0bf60d51f0d5b850e089b8200cfc8e9f0 /include/linux
parentdb3a37c711433a79331b1b47feff15f987a2d89b (diff)
x86: mp: Allow running functions on multiple CPUs
Add a way to run a function on a selection of CPUs. This supports either a single CPU, all CPUs, just the main CPU or just the 'APs', in Intel terminology. It works by writing into a mailbox and then waiting for the CPUs to notice it, take action and indicate they are done. When SMP is not yet enabled, this just calls the function on the main CPU. Signed-off-by: Simon Glass <[email protected]> Reviewed-by: Wolfgang Wallner <[email protected]> Reviewed-by: Bin Meng <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions