mirror of
https://github.com/raspberrypi/linux.git
synced 2026-01-04 10:21:00 +00:00
s390: Replace S390_lowcore by get_lowcore()
Replace all S390_lowcore usages in arch/s390/ by get_lowcore(). Acked-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Sven Schnelle <svens@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
This commit is contained in:
committed by
Vasily Gorbik
parent
7e8f89e5e0
commit
208da1d5fc
@@ -119,7 +119,7 @@ static inline void arch_spin_lock_queued(arch_spinlock_t *lp)
|
||||
struct spin_wait *node, *next;
|
||||
int lockval, ix, node_id, tail_id, old, new, owner, count;
|
||||
|
||||
ix = S390_lowcore.spinlock_index++;
|
||||
ix = get_lowcore()->spinlock_index++;
|
||||
barrier();
|
||||
lockval = SPINLOCK_LOCKVAL; /* cpu + 1 */
|
||||
node = this_cpu_ptr(&spin_wait[ix]);
|
||||
@@ -205,7 +205,7 @@ static inline void arch_spin_lock_queued(arch_spinlock_t *lp)
|
||||
}
|
||||
|
||||
out:
|
||||
S390_lowcore.spinlock_index--;
|
||||
get_lowcore()->spinlock_index--;
|
||||
}
|
||||
|
||||
static inline void arch_spin_lock_classic(arch_spinlock_t *lp)
|
||||
|
||||
Reference in New Issue
Block a user