sumpfralle opened a new issue, #16203:
URL: https://github.com/apache/nuttx/issues/16203

   ### Description / Steps to reproduce the issue
   
   The functions `up_cpu_pause` and `up_cpu_resume` were removed in #13863 by 
@xiaoxiang781216.
   
   But there are still two remaining calls of both functions left in 
[rp2040_flash_mtd.c](https://github.com/apache/nuttx/blob/dd53c34722dba37e6e23262b64f57920425883d0/arch/arm/src/rp2040/rp2040_flash_mtd.c#L273).
   
   Thus compilation with enabled SMP support fails at the moment:
   ```
   chip/rp2040_flash_mtd.c: In function 'rp2040_flash_erase':
   chip/rp2040_flash_mtd.c:273:3: error: implicit declaration of function 
'up_cpu_pause' [-Wimplicit-function-declaration]
     273 |   up_cpu_pause(OTHER_CPU);
         |   ^~~~~~~~~~~~
   chip/rp2040_flash_mtd.c:280:3: error: implicit declaration of function 
'up_cpu_resume' [-Wimplicit-function-declaration]
     280 |   up_cpu_resume(OTHER_CPU);
         |   ^~~~~~~~~~~~~
   ```
   
   I tried to understand #13863, but I failed to derive the changes necessary 
to replace the above remaining calls.
   
   Maybe someone can give me a hint?
   
   ### On which OS does this issue occur?
   
   [OS: Linux]
   
   ### What is the version of your OS?
   
   Debian Trixie
   
   ### NuttX Version
   
   master
   
   ### Issue Architecture
   
   [Arch: arm]
   
   ### Issue Area
   
   [Area: File System]
   
   ### Host information
   
   _No response_
   
   ### Verification
   
   - [x] I have verified before submitting the report.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to