walnux/sched
hujun5 55dbf37017 fix compiler error
reason:
when CONFIG_CLOCK_TIMEKEEPING=y, compiler error may report

In file included from /home/hujun5/downloads1/vela_sim/nuttx/include/nuttx/sched.h:42,
                 from /home/hujun5/downloads1/vela_sim/nuttx/include/nuttx/arch.h:89,
                 from boardctl.c:33:
/home/hujun5/downloads1/vela_sim/nuttx/include/nuttx/irq.h:261:12: error: conflicting types for 'enter_critical_section'; have 'irqstate_t(void)' {aka 'long unsigned int(void)'}
  261 | irqstate_t enter_critical_section(void) noinstrument_function;
      |            ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/hujun5/downloads1/vela_sim/nuttx/include/nuttx/wqueue.h:37,
                 from /home/hujun5/downloads1/vela_sim/nuttx/include/nuttx/addrenv.h:39,
                 from /home/hujun5/downloads1/vela_sim/nuttx/include/nuttx/sched.h:40:
/home/hujun5/downloads1/vela_sim/nuttx/include/nuttx/wdog.h:267:11: note: previous implicit declaration of 'enter_critical_section' with type 'int()'
  267 |   flags = enter_critical_section();
      |           ^~~~~~~~~~~~~~~~~~~~~~
hujun5@hujun5-OptiPlex-7070:~/downloads1/vela_sim/nuttx$ make -j12
sched/sched_processtimer.c: In function 'nxsched_process_timer':
sched/sched_processtimer.c:178:3: error: implicit declaration of function 'clock_update_wall_time' [-Werror=implicit-function-declaration]
  178 |   clock_update_wall_time();

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-11-11 19:48:38 +08:00
..
addrenv sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
clock cmake:refine nuttx cmake build system fix CMake build missing part 2024-10-13 02:25:06 +08:00
environ sched/environ: There is no need to use sched_[un]lock 2024-10-11 02:43:11 +08:00
event sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
group Revert "sched/group/setuptask_file: duplicate idle task fd for kernel thread" 2024-10-11 16:53:19 +08:00
init sched: add up_this_task and up_change_task macro stub 2024-10-15 15:25:55 +08:00
instrument sched/instrument: rename stack_record.c to stack_monitor.c 2024-10-13 02:10:41 +08:00
irq isrthread: add configuring the stack of an isrthread as static 2024-11-08 01:49:14 +08:00
misc smpcall: add nxsched_smp_call_async and nxsched_smp_call_single_async 2024-11-06 09:53:28 +08:00
module modlib:Standardized module loading method 2024-10-05 15:22:02 +08:00
mqueue mq: change mqueue msg mail to dynamic array 2024-10-07 20:20:13 +08:00
paging sched: add nxsched_remove_self 2024-09-24 22:07:00 +08:00
pthread pthread_cond remove csection 2024-11-02 09:40:19 -03:00
sched fix compiler error 2024-11-11 19:48:38 +08:00
semaphore nuttx/semaphore: Move define CONFIG_SEM_PREALLOCHOLDERS to include/semaphore.h. 2024-10-31 18:37:53 +08:00
signal smpcall: add nxsched_smp_call_async and nxsched_smp_call_single_async 2024-11-06 09:53:28 +08:00
task smpcall: add nxsched_smp_call_async and nxsched_smp_call_single_async 2024-11-06 09:53:28 +08:00
timer timer_create:Checks whether the signo provided by the user is valid 2024-10-31 17:16:12 +08:00
tls sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
wdog sched/wdog: Fix code style 2024-10-10 13:57:46 +08:00
wqueue isrthread: add configuring the stack of an isrthread as static 2024-11-08 01:49:14 +08:00
CMakeLists.txt sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
Kconfig isrthread: add configuring the stack of an isrthread as static 2024-11-08 01:49:14 +08:00
Makefile Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00