s390/topology: reduce per_cpu() invocations
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 15 Oct 2015 11:40:55 +0000 (13:40 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 27 Oct 2015 08:34:39 +0000 (09:34 +0100)
commit439eb131f796d8b2cf625d791b22b42962b9dd0d
treeb98959f796081996a802e6e8210aa75ce7834b2e
parent36324963a3006d2c416095d87d8272e4825c679b
s390/topology: reduce per_cpu() invocations

Each per_cpu() invocation generates extra code. Since there are a lot
of similiar calls in the topology code we can avoid a lot of them.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/topology.c