Re: [PATCH v2] arch: vdso: remove if-conditionals of $(c-gettimeofday-y)

From
Catalin Marinas <catalin.marinas@arm.com>
Date
2021-08-03 16:19:41
Also in
linux-arm-kernel, linux-mips, linux-riscv, lkml
Reply to
Masahiro Yamada, 2021-07-31
On Sat, Jul 31, 2021 at 03:00:20PM +0900, Masahiro Yamada wrote:
arm, arm64, csky, mips, powerpc always select GENERIC_GETTIMEOFDAY,
hence $(gettimeofday-y) never becomes empty.

riscv conditionally selects GENERIC_GETTIMEOFDAY when MMU=y && 64BIT=y,
but arch/riscv/kernel/vdso/vgettimeofday.o is built only under that
condition. So, you can always define CFLAGS_vgettimeofday.o

Remove all the meaningless conditionals.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Thread (4 messages) 4 messages, 4 authors, last reply 2021-08-05
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help