[PATCH v2] arch: vdso: remove if-conditionals of $(c-gettimeofday-y)
Catalin Marinas
catalin.marinas at arm.com
Tue Aug 3 09:19:26 PDT 2021
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 at kernel.org>
Acked-by: Catalin Marinas <catalin.marinas at arm.com>
More information about the linux-riscv
mailing list