diff options
| author | Paul E. McKenney <[email protected]> | 2020-06-30 00:21:32 +0000 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2020-09-04 18:50:50 +0000 |
| commit | e48c15b796d412ede883bb2ef7779b2a142f7962 (patch) | |
| tree | f59df2675d2b3326e583e8dfeb661394f0054702 /drivers/platform/surface/aggregator/ssh_parser.c | |
| parent | lib: Add backtrace_idle parameter to force backtrace of idle CPUs (diff) | |
| download | kernel-e48c15b796d412ede883bb2ef7779b2a142f7962.tar.gz kernel-e48c15b796d412ede883bb2ef7779b2a142f7962.zip | |
smp: Add source and destination CPUs to __call_single_data
This commit adds a destination CPU to __call_single_data, and is inspired
by an earlier commit by Peter Zijlstra. This version adds #ifdef to
permit use by 32-bit systems and supplying the destination CPU for all
smp_call_function*() requests, not just smp_call_function_single().
If need be, 32-bit systems could be accommodated by shrinking the flags
field to 16 bits (the atomic_t variant is currently unused) and by
providing only eight bits for CPU on such systems.
It is not clear that the addition of the fields to __call_single_node
are really needed.
[ paulmck: Apply Boqun Feng feedback on 32-bit builds. ]
Link: https://lore.kernel.org/lkml/[email protected]/
Cc: Peter Zijlstra <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Sebastian Andrzej Siewior <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions
