summaryrefslogtreecommitdiff
path: root/arch/s390/lib
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2019-12-03 19:52:03 +0300
committerVasily Gorbik <gor@linux.ibm.com>2019-12-11 21:53:23 +0300
commitb62b6cf170237677ae96001940c54d5c09d0015a (patch)
tree8e850520fcf878fa6216545e167daab7d2ede89a /arch/s390/lib
parente42617b825f8073569da76dc4510bfa019b1c35a (diff)
downloadlinux-b62b6cf170237677ae96001940c54d5c09d0015a.tar.xz
s390/spinlock: remove confusing comment in arch_spin_lock_wait
arch_spin_lock_wait does not take steal time into consideration. Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/lib')
-rw-r--r--arch/s390/lib/spinlock.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/s390/lib/spinlock.c b/arch/s390/lib/spinlock.c
index ce1e4bbe53aa..9b2dab5a69f9 100644
--- a/arch/s390/lib/spinlock.c
+++ b/arch/s390/lib/spinlock.c
@@ -242,7 +242,6 @@ static inline void arch_spin_lock_classic(arch_spinlock_t *lp)
void arch_spin_lock_wait(arch_spinlock_t *lp)
{
- /* Use classic spinlocks + niai if the steal time is >= 10% */
if (test_cpu_flag(CIF_DEDICATED_CPU))
arch_spin_lock_queued(lp);
else