nuttx/sched/clock
Xiang Xiao c32b683085 !compiler: drop CONFIG_HAVE_LONG_LONG and require long long support
Every compiler supported by NuttX provides the "long long" types,
so the CONFIG_HAVE_LONG_LONG indirection is no longer useful.
Remove the option from include/nuttx/compiler.h and treat
"long long" as unconditionally available across the OS.

In addition to deleting the guard itself, this commit unconditionally
enables the long-long flavored helpers that used to be gated behind
it:

  - libs/libc/fixedmath: drop the soft-emulated b32/ub32 routines
    in lib_fixedmath.c (-261 lines) and trim the matching
    prototypes, Make.defs and CMakeLists.txt entries; keep only
    the long-long backed implementations.
  - include/sys/endian.h, include/strings.h, libs/libc/string
    /lib_ffsll.c, lib_flsll.c: always expose the 64-bit byte-swap
    and ffsll/flsll variants.
  - libs/libm/libm/lib_llround{,f,l}.c: drop the empty stubs.
  - libs/libc/stdlib (atoll, llabs, lldiv, strtoll/ull, rand48,
    strtold), libs/libc/stream (libvsprintf, libvscanf,
    libbsprintf, ultoa_invert), libs/libc/misc (crc64, crc64emac),
    libs/libc/inttypes/strtoimax, libs/libc/lzf, libs/libc/libc.csv,
    libs/libc/string (memset, vikmemcpy): remove the
    #ifdef CONFIG_HAVE_LONG_LONG branches.
  - include/{stddef.h,stdlib.h,fixedmath.h,sys/epoll.h,cxx/cstdlib,
    nuttx/audio/audio.h,nuttx/crc64.h,nuttx/lib/math.h,
    nuttx/lib/math32.h,nuttx/lib/stdbit.h}: same guard cleanup.
  - drivers/note/note_driver.c, fs/spiffs/src/spiffs.h,
    sched/irq/irq_procfs.c: drop their local guards as well.
  - Documentation/applications/netutils/ntpclient/index.rst:
    refresh the documentation snippet.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-05-19 16:21:28 +08:00
..
clock.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
clock.h !compiler: drop CONFIG_HAVE_LONG_LONG and require long long support 2026-05-19 16:21:28 +08:00
clock_adjtime.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
clock_delay.c arch/delays: Invalid default value for BOARD_LOOPSPERMSEC 2026-02-25 15:00:03 -03:00
clock_getres.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
clock_gettime.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
clock_initialize.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
clock_notifier.c fs/timerfd: implement TFD_TIMER_CANCEL_ON_SET to detect clock changes 2026-01-30 17:20:24 +08:00
clock_perf.c arch/armv7-r: userspace PMU access 2026-02-02 16:20:39 +01:00
clock_realtime2absticks.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
clock_sched_ticks.c sched/tickless: Fix CLOCK_MONOTONIC always 0 by updating sched ticks 2026-03-03 11:01:02 -05:00
clock_settime.c clock_settime: don't block when up_rtc_settime is called 2026-04-28 15:15:05 -04:00
clock_systime_ticks.c sched/clock: Remove unnecessary preprocessor definition 2025-12-12 12:31:16 +08:00
clock_systime_timespec.c sched/clock: Improve clock implementation with sched ticks functions 2025-10-18 20:07:59 +08:00
clock_timekeeping.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
clock_timekeeping.h sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
CMakeLists.txt arch/delays: Invalid default value for BOARD_LOOPSPERMSEC 2026-02-25 15:00:03 -03:00
Make.defs arch/delays: Invalid default value for BOARD_LOOPSPERMSEC 2026-02-25 15:00:03 -03:00