]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Mar 2020 15:45:22 +0000 (16:45 +0100)
commit993cc7831665fc732a6394d4ad84f093b16a2c6e
tree88f9547419e957f944bcbebccf24b04d6a4533f6
parent8fa62cc9f2539147c0735850f571aca9cd09d0f1
lib/vdso: Make __arch_update_vdso_data() logic understandable

commit 9a6b55ac4a44060bcb782baf002859b2a2c63267 upstream.

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: 44f57d788e7d ("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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/include/asm/vdso/vsyscall.h
include/asm-generic/vdso/vsyscall.h
kernel/time/vsyscall.c