]> git.baikalelectronics.ru Git - kernel.git/commit
lib/vdso: Make __arch_update_vdso_data() logic understandable
authorThomas Gleixner <tglx@linutronix.de>
Tue, 14 Jan 2020 18:52:38 +0000 (19:52 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 17 Jan 2020 14:53:50 +0000 (15:53 +0100)
commit95beaa08f459a61f582d02d551b72f64e86acb80
tree511a3f83b91584cb4a1da35f0cd1837ac647e894
parent0582e8d7a750577b994ead220405618f651f6d57
lib/vdso: Make __arch_update_vdso_data() logic understandable

The function name suggests that this is a boolean checking whether the
architecture asks for an update of the VDSO data, but it works the other
way round. To spare further confusion invert the logic.

Fixes: d9fc28981be3 ("timekeeping: Provide a generic update_vsyscall() implementation")
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20200114185946.656652824@linutronix.de
arch/arm/include/asm/vdso/vsyscall.h
include/asm-generic/vdso/vsyscall.h
kernel/time/vsyscall.c