Skip to content
Commit 9e1e188c authored by Claudio Imbrenda's avatar Claudio Imbrenda
Browse files

lib: s390x: smp: refactor smp functions to accept indexes



Refactor all the smp_* functions to accept CPU indexes instead of CPU
addresses.

Add SIGP wrappers to use indexes instead of addresses. Raw SIGP calls
using addresses are still possible. Some of the reworked functions
also use the new wrappers internally, for clarity, even though that
will cause unnecessary redundant checks on the validity of the CPU
index.

Add a few other useful functions to deal with CPU indexes.

Signed-off-by: default avatarClaudio Imbrenda <imbrenda@linux.ibm.com>
Reviewed-by: default avatarSteffen Eiden <seiden@linux.ibm.com>
Reviewed-by: default avatarNico Boehr <nrb@linux.ibm.com>
parent 5a6a5506
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment