[PW_SID:1124633] vDSO: Replace CONFIG_GENERIC_GETTIMEOFDAY ifdeffery with IS_ENABLED()#2252
[PW_SID:1124633] vDSO: Replace CONFIG_GENERIC_GETTIMEOFDAY ifdeffery with IS_ENABLED()#2252linux-riscv-bot wants to merge 8 commits into
Conversation
Extend the asm-header stub generation to also handle subdirectories. An upcoming vdso/ header refactoring requires this. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
…MEOFDAY Some code, for example clocksource drivers, may want to use the vDSO clockmode constants even when CONFIG_GENERIC_GETTIMEOFDAY=n. But the symbols are completely hidden in that case, making ugly ifdeffery necessary. Provide unlinkable dummy definitions. These can be used with IS_ENABLED(CONFIG_GENERIC_GETTIMEOFDAY). As not all architectures provide asm/vdso/clocksource.h, provide an empty stub in asm-generic for it. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
…_ENABLED() Now that there is a dummy declaration of VDSO_CLOCKMODE_R4K, even if no vDSO is built, the ugly ifdeffery can be replaced with a cleaner IS_ENABLED() check. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
…AY ifdeffery with IS_ENABLED() Now that there is a dummy declaration of VDSO_CLOCKMODE_GIC, even if no vDSO is built, the ugly ifdeffery can be replaced with a cleaner IS_ENABLED() check. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
…AY ifdeffery with IS_ENABLED() Now that there is a dummy declaration of VDSO_CLOCKMODE_ARCHTIMER, even if no vDSO is built, the ugly ifdeffery can be replaced with a cleaner IS_ENABLED() check. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
…ifdeffery with IS_ENABLED() Now that there is a dummy declaration of VDSO_CLOCKMODE_ARCHTIMER, even if no vDSO is built, the ugly ifdeffery can be replaced with a cleaner IS_ENABLED() check. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
…LED() Now that there is a dummy declaration of VDSO_CLOCKMODE_CPU, even if no vDSO is built, the ugly ifdeffery can be replaced with a cleaner IS_ENABLED() check. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "[1/7] kbuild: support generated asm-headers in subdirectories" |
|
Patch 1: "[1/7] kbuild: support generated asm-headers in subdirectories" |
|
Patch 1: "[1/7] kbuild: support generated asm-headers in subdirectories" |
|
Patch 1: "[1/7] kbuild: support generated asm-headers in subdirectories" |
|
Patch 1: "[1/7] kbuild: support generated asm-headers in subdirectories" |
|
Patch 1: "[1/7] kbuild: support generated asm-headers in subdirectories" |
|
Patch 1: "[1/7] kbuild: support generated asm-headers in subdirectories" |
|
Patch 1: "[1/7] kbuild: support generated asm-headers in subdirectories" |
|
Patch 1: "[1/7] kbuild: support generated asm-headers in subdirectories" |
|
Patch 1: "[1/7] kbuild: support generated asm-headers in subdirectories" |
|
Patch 1: "[1/7] kbuild: support generated asm-headers in subdirectories" |
|
Patch 1: "[1/7] kbuild: support generated asm-headers in subdirectories" |
|
Patch 2: "[2/7] vDSO: Make clockmode constants available without CONFIG_GENERIC_GETTIMEOFDAY" |
|
Patch 2: "[2/7] vDSO: Make clockmode constants available without CONFIG_GENERIC_GETTIMEOFDAY" |
|
Patch 2: "[2/7] vDSO: Make clockmode constants available without CONFIG_GENERIC_GETTIMEOFDAY" |
|
Patch 2: "[2/7] vDSO: Make clockmode constants available without CONFIG_GENERIC_GETTIMEOFDAY" |
|
Patch 2: "[2/7] vDSO: Make clockmode constants available without CONFIG_GENERIC_GETTIMEOFDAY" |
|
Patch 2: "[2/7] vDSO: Make clockmode constants available without CONFIG_GENERIC_GETTIMEOFDAY" |
|
Patch 2: "[2/7] vDSO: Make clockmode constants available without CONFIG_GENERIC_GETTIMEOFDAY" |
|
Patch 2: "[2/7] vDSO: Make clockmode constants available without CONFIG_GENERIC_GETTIMEOFDAY" |
|
Patch 2: "[2/7] vDSO: Make clockmode constants available without CONFIG_GENERIC_GETTIMEOFDAY" |
|
Patch 2: "[2/7] vDSO: Make clockmode constants available without CONFIG_GENERIC_GETTIMEOFDAY" |
|
Patch 6: "[6/7] clocksource/drivers/timer-riscv: Replace CONFIG_GENERIC_GETTIMEOFDAY ifdeffery with IS_ENABLED()" |
|
Patch 6: "[6/7] clocksource/drivers/timer-riscv: Replace CONFIG_GENERIC_GETTIMEOFDAY ifdeffery with IS_ENABLED()" |
|
Patch 6: "[6/7] clocksource/drivers/timer-riscv: Replace CONFIG_GENERIC_GETTIMEOFDAY ifdeffery with IS_ENABLED()" |
|
Patch 6: "[6/7] clocksource/drivers/timer-riscv: Replace CONFIG_GENERIC_GETTIMEOFDAY ifdeffery with IS_ENABLED()" |
|
Patch 6: "[6/7] clocksource/drivers/timer-riscv: Replace CONFIG_GENERIC_GETTIMEOFDAY ifdeffery with IS_ENABLED()" |
|
Patch 6: "[6/7] clocksource/drivers/timer-riscv: Replace CONFIG_GENERIC_GETTIMEOFDAY ifdeffery with IS_ENABLED()" |
|
Patch 6: "[6/7] clocksource/drivers/timer-riscv: Replace CONFIG_GENERIC_GETTIMEOFDAY ifdeffery with IS_ENABLED()" |
|
Patch 6: "[6/7] clocksource/drivers/timer-riscv: Replace CONFIG_GENERIC_GETTIMEOFDAY ifdeffery with IS_ENABLED()" |
|
Patch 6: "[6/7] clocksource/drivers/timer-riscv: Replace CONFIG_GENERIC_GETTIMEOFDAY ifdeffery with IS_ENABLED()" |
|
Patch 7: "[7/7] LoongArch: Replace CONFIG_GENERIC_GETTIMEOFDAY ifdeffery with IS_ENABLED()" |
|
Patch 7: "[7/7] LoongArch: Replace CONFIG_GENERIC_GETTIMEOFDAY ifdeffery with IS_ENABLED()" |
|
Patch 7: "[7/7] LoongArch: Replace CONFIG_GENERIC_GETTIMEOFDAY ifdeffery with IS_ENABLED()" |
|
Patch 7: "[7/7] LoongArch: Replace CONFIG_GENERIC_GETTIMEOFDAY ifdeffery with IS_ENABLED()" |
|
Patch 7: "[7/7] LoongArch: Replace CONFIG_GENERIC_GETTIMEOFDAY ifdeffery with IS_ENABLED()" |
|
Patch 7: "[7/7] LoongArch: Replace CONFIG_GENERIC_GETTIMEOFDAY ifdeffery with IS_ENABLED()" |
|
Patch 7: "[7/7] LoongArch: Replace CONFIG_GENERIC_GETTIMEOFDAY ifdeffery with IS_ENABLED()" |
|
Patch 7: "[7/7] LoongArch: Replace CONFIG_GENERIC_GETTIMEOFDAY ifdeffery with IS_ENABLED()" |
|
Patch 7: "[7/7] LoongArch: Replace CONFIG_GENERIC_GETTIMEOFDAY ifdeffery with IS_ENABLED()" |
|
Patch 7: "[7/7] LoongArch: Replace CONFIG_GENERIC_GETTIMEOFDAY ifdeffery with IS_ENABLED()" |
|
Patch 7: "[7/7] LoongArch: Replace CONFIG_GENERIC_GETTIMEOFDAY ifdeffery with IS_ENABLED()" |
|
Patch 7: "[7/7] LoongArch: Replace CONFIG_GENERIC_GETTIMEOFDAY ifdeffery with IS_ENABLED()" |
56b6f30 to
8ca72ef
Compare
PR for series 1124633 applied to workflow__riscv__fixes
Name: vDSO: Replace CONFIG_GENERIC_GETTIMEOFDAY ifdeffery with IS_ENABLED()
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1124633
Version: 1