You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/01/23 02:05:06 UTC

[GitHub] [incubator-nuttx] no1wudi commented on a change in pull request #5314: arch/risc-v: Move xxx_cpustart.c to common

no1wudi commented on a change in pull request #5314:
URL: https://github.com/apache/incubator-nuttx/pull/5314#discussion_r790204621



##########
File path: arch/risc-v/src/common/riscv_cpustart.c
##########
@@ -41,37 +41,24 @@
 #include "riscv_internal.h"
 #include "chip.h"
 
-#ifdef CONFIG_SMP
-
 /****************************************************************************
  * Pre-processor Definitions
  ****************************************************************************/
 
-#if 0
-#  define DPRINTF(fmt, args...) _err(fmt, ##args)
-#else
-#  define DPRINTF(fmt, args...) do {} while (0)
-#endif
-
-#ifdef CONFIG_DEBUG_FEATURES
-#  define showprogress(c) riscv_lowputc(c)
-#else
-#  define showprogress(c)
-#endif
-
 /****************************************************************************
  * Public Data
  ****************************************************************************/
 
 extern volatile bool g_serial_ok;
-extern int riscv_pause_handler(int irq, void *c, void *arg);
 
 /****************************************************************************
  * Public Functions
  ****************************************************************************/
 
+extern int riscv_pause_handler(int irq, void *c, void *arg);

Review comment:
       Done




-- 
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-unsubscribe@nuttx.apache.org

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