RTEMS | bsps/arm/xilinx-zynq/start/bspsmp.c: fix unused parameter warning (!822)

Michal Lenc (@michallenc) gitlab at rtems.org
Sun Nov 2 11:10:26 UTC 2025



Michal Lenc created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/822

Project:Branches: michallenc/rtems:xilinx_zynq_zedboard-compile-fix to rtems/rtos/rtems:main
Author:   Michal Lenc




## Summary

Fixes following unused parameter warning (treated as error) in build
without assertions.

```
[  25/1550] Compiling bsps/arm/xilinx-zynq/start/bspsmp.c
../../../bsps/arm/xilinx-zynq/start/bspsmp.c: In function '_CPU_SMP_Start_processor':
../../../bsps/arm/xilinx-zynq/start/bspsmp.c:42:40: error: unused parameter 'cpu_index' [-Werror=unused-parameter]
   42 | bool _CPU_SMP_Start_processor(uint32_t cpu_index)
      |                               ~~~~~~~~~^~~~~~~~~
cc1: all warnings being treated as errors
```

Happens if `arm/xilinx_zynq_zedboard` board is configured and `RTEMS_SMP`
is enabled.

Signed-off-by: Michal Lenc <michallenc at seznam.cz>


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/822
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20251102/e8633cb0/attachment.htm>


More information about the bugs mailing list