zephyr/kernel
Carles Cufi 61cdcb3383 kernel: Guard SYS_CLOCK_HW_CYCLES_PER_SEC to avoid spurious empty macro
If SYS_CLOCK_EXISTS is not enabled, then the SYS_CLOCK_HW_CYCLES_PER_SEC
still gets created, but with no value. This causes the code generation
in misc/generated/CMakeLists.txt to create an empty assembly macro:

`.equ  CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC,`

which then causes a build error.

Disable SYS_CLOCK_HW_CYCLES_PER_SEC entirely when SYS_CLOCK_EXISTS is
disabled to fix this.

This is a follow-up to 03f46db859.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2025-06-06 15:01:34 +01:00
..
include kernel: priority_q: fix comparison of int of different signs 2025-05-13 10:05:52 +02:00
paging
atomic_c.c
banner.c
busy_wait.c
CMakeLists.txt kernel: Unify .ctors and .init_array handling 2025-04-16 20:36:27 +02:00
compiler_stack_protect.c
condvar.c
cpu_mask.c
device.c device: Provide de-init device function only if requested 2025-06-03 17:08:50 +02:00
dynamic_disabled.c
dynamic.c
errno.c
events.c kernel: events: prevent k_event_init() from being called in an ISR 2025-05-02 01:16:46 +02:00
fatal.c
float.c
futex.c
idle.c
init.c kernel/init: Corrected a typo 2025-05-22 23:56:59 +02:00
ipi.c
irq_offload.c
Kconfig kernel: Guard SYS_CLOCK_HW_CYCLES_PER_SEC to avoid spurious empty macro 2025-06-06 15:01:34 +01:00
Kconfig.device device: Provide de-init device function only if requested 2025-06-03 17:08:50 +02:00
Kconfig.init
Kconfig.mem_domain
Kconfig.obj_core
Kconfig.smp
Kconfig.vm
kheap.c kernel: kheap: workaround for Percepio's TraceRecorder kludge 2025-04-01 22:13:04 +02:00
mailbox.c
main_weak.c
mem_domain.c
mem_slab.c
mempool.c kernel: mempool: decouple simple alloc from aligned_alloc 2025-04-01 22:13:04 +02:00
mmu.c kernel: mmu: Added a cast to avoid format warnings when logging 2025-06-04 17:03:13 +02:00
msg_q.c
mutex.c
nothread.c kernel: Add Z_IS_TIMEOUT_RELATIVE() macro 2025-03-17 02:21:02 +01:00
obj_core.c
pipe.c kernel/pipe: fix poll support 2025-04-21 07:45:35 +02:00
pipes.c
poll.c kernel/pipe: fix poll support 2025-04-21 07:45:35 +02:00
priority_queues.c
queue.c
sched.c kernel: sched: sleep: Use value returned by z_add_timeout 2025-04-15 19:09:33 +02:00
sem.c
smp.c
spinlock_validate.c
stack.c
system_work_q.c kernel: workq: introduce work timeout: 2025-06-06 08:42:53 +02:00
thread_monitor.c kernel: thread_monitor: reafactor and remove duplicate code 2025-04-04 07:42:20 +02:00
thread.c
timeout.c kernel: timeout: z_add_timeout to return expiration tick 2025-04-15 19:09:33 +02:00
timer.c kernel: Add Z_IS_TIMEOUT_RELATIVE() macro 2025-03-17 02:21:02 +01:00
timeslicing.c
usage.c
userspace_handler.c
userspace.c kernel: userspace: Fix memory leak in dynamic_object_create 2025-05-20 00:26:30 +01:00
version.c
work.c kernel: workq: introduce work timeout: 2025-06-06 08:42:53 +02:00
xip.c arch: common: Make nocache region loadable 2025-04-21 12:42:19 +02:00