summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2016-05-31 14:18:12 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2016-05-31 14:18:12 +0900
commite02f2e71e6bc43302693c7431b8e91d8e1353562 (patch)
tree027c7d509f4db3a547f76cdf7a9b1eaa92fa5199
parent1fa89d17547cc6a28991d559d69fead33eacd151 (diff)
Fix f2a8b01607aca8f41cc5f50b18bea74d65766731
-rw-r--r--chopstx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/chopstx.c b/chopstx.c
index 2467cbc..5d90a1f 100644
--- a/chopstx.c
+++ b/chopstx.c
@@ -1458,7 +1458,6 @@ chx_intr_hook (struct chx_px *px, struct chx_poll_head *pd)
*
* Wait for the interrupt @intr to be occured.
*
- * This function is DEPRECATED. Please use chopstx_poll.
*/
void
chopstx_intr_wait (chopstx_intr_t *intr)
@@ -2017,7 +2016,7 @@ preempt (void)
"bx r0\n"
"1:\n\t"
/* Spawn an IDLE thread. */
- "ldr r0, =__main_stack_end__\n\t"
+ "ldr r0, =__main_stack_end__-32\n\t"
"msr PSP, r0\n\t"
"mov r1, #0\n\t"
"mov r2, #0\n\t"