Change to a more readable name.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 3 Dec 2010 14:51:51 +0000 (14:51 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 3 Dec 2010 14:51:51 +0000 (14:51 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4610 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/cpu/frame.h

index f7eac47e41cd0b8c187685d4f59618fcb0518fec..117667e45e1f855a76f8ad1f0c1e740e15101b7b 100644 (file)
 #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;
                        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 { \