summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/rtdef.h2
-rw-r--r--include/rthw.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/rtdef.h b/include/rtdef.h
index 253ec36968..6d5263ef62 100644
--- a/include/rtdef.h
+++ b/include/rtdef.h
@@ -500,7 +500,7 @@ typedef siginfo_t rt_siginfo_t;
#define RT_THREAD_CTRL_CLOSE 0x01 /**< Close thread. */
#define RT_THREAD_CTRL_CHANGE_PRIORITY 0x02 /**< Change thread priority. */
#define RT_THREAD_CTRL_INFO 0x03 /**< Get thread information. */
-#define RT_THREAD_CTRL_BIND_CPU 0x03 /**< Set thread bind cpu. */
+#define RT_THREAD_CTRL_BIND_CPU 0x04 /**< Set thread bind cpu. */
#ifdef RT_USING_SMP
diff --git a/include/rthw.h b/include/rthw.h
index 3fa0ba301c..dee10b0bee 100644
--- a/include/rthw.h
+++ b/include/rthw.h
@@ -92,7 +92,7 @@ void rt_hw_interrupt_umask(int vector);
rt_isr_handler_t rt_hw_interrupt_install(int vector,
rt_isr_handler_t handler,
void *param,
- char *name);
+ const char *name);
#ifdef RT_USING_SMP
rt_base_t rt_hw_local_irq_disable();