Module: xenomai-2.5 Branch: master Commit: 5bb86dabfac8d09662fe74914ef4a989ee0c4457 URL: http://git.xenomai.org/?p=xenomai-2.5.git;a=commit;h=5bb86dabfac8d09662fe74914ef4a989ee0c4457
Author: Philippe Gerum <[email protected]> Date: Thu May 6 20:06:17 2010 +0200 arm: use rthal_processor_id() over non-linux contexts --- include/asm-arm/bits/pod.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/asm-arm/bits/pod.h b/include/asm-arm/bits/pod.h index 9304250..3dc51f8 100644 --- a/include/asm-arm/bits/pod.h +++ b/include/asm-arm/bits/pod.h @@ -153,7 +153,7 @@ static inline void xnarch_enable_fpu(xnarchtcb_t *tcb) save the fpu state and disable them, to get linux fpu fault handler take care of them correctly. */ rthal_save_fpu(tcb->fpup, fpexc); - last_VFP_context[smp_processor_id()] = NULL; + last_VFP_context[rthal_processor_id()] = NULL; rthal_disable_fpu(); } #else /* !CONFIG_VFP */ @@ -214,7 +214,7 @@ static inline void xnarch_restore_fpu(xnarchtcb_t * tcb) task, into the FPU area of the last non RT task which used the FPU before the preemption by Xenomai. */ - last_VFP_context[smp_processor_id()] = NULL; + last_VFP_context[rthal_processor_id()] = NULL; rthal_disable_fpu(); } #else /* !CONFIG_VFP */ _______________________________________________ Xenomai-git mailing list [email protected] https://mail.gna.org/listinfo/xenomai-git
