From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4FFDE322.2090003@xenomai.org> Date: Wed, 11 Jul 2012 22:33:38 +0200 From: Philippe Gerum MIME-Version: 1.0 References: <4FFDC6A2.8050706@siemens.com> In-Reply-To: <4FFDC6A2.8050706@siemens.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] [PATCH, forge] x86: Fix build breakage in 64-bit xnarch_leave_root List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Xenomai On 07/11/2012 08:32 PM, Jan Kiszka wrote: > Signed-off-by: Jan Kiszka > --- > include/asm-x86/bits/pod_64.h | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/include/asm-x86/bits/pod_64.h b/include/asm-x86/bits/pod_64.h > index 00b2438..546a4fa 100644 > --- a/include/asm-x86/bits/pod_64.h > +++ b/include/asm-x86/bits/pod_64.h > @@ -42,7 +42,7 @@ static inline void xnarch_leave_root(xnarchtcb_t *rootcb) > rootcb->user_task = rootcb->active_task = current; > rootcb->rspp = ¤t->thread.sp; > rootcb->ripp = ¤t->thread.rip; > - rootcb->ts_usedfpu = !!wrap_test_fpu_used(current) > + rootcb->ts_usedfpu = !!wrap_test_fpu_used(current); > rootcb->cr0_ts = (read_cr0() & 8) != 0; > /* So that xnarch_save_fpu() will operate on the right FPU area. */ > if (rootcb->cr0_ts || rootcb->ts_usedfpu) > Merged, thanks. -- Philippe.