From 40896f7f61cb41a2bac0ceb519e5022e84e22c93 Mon Sep 17 00:00:00 2001 From: batt Date: Fri, 3 Dec 2010 14:51:51 +0000 Subject: [PATCH] Change to a more readable name. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4610 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/frame.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bertos/cpu/frame.h b/bertos/cpu/frame.h index f7eac47e..117667e4 100644 --- a/bertos/cpu/frame.h +++ b/bertos/cpu/frame.h @@ -164,7 +164,7 @@ #elif CPU_CM3 #if CONFIG_KERN_PREEMPT - INLINE void asm_switch_context(cpu_stack_t **new_sp, cpu_stack_t **old_sp) + INLINE void cm3_preempt_switch_context(cpu_stack_t **new_sp, cpu_stack_t **old_sp) { register cpu_stack_t **__new_sp asm ("r0") = new_sp; register cpu_stack_t **__old_sp asm ("r1") = old_sp; @@ -172,7 +172,7 @@ asm volatile ("svc #0" : : "r"(__new_sp), "r"(__old_sp) : "memory", "cc"); } - #define asm_switch_context asm_switch_context + #define asm_switch_context cm3_preempt_switch_context #define CPU_PUSH_CALL_FRAME(sp, func) \ do { \ -- 2.25.1