| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-merge] fs/gs handling
 Hi Chris,
On Thu, Aug 11, 2005 at 07:41:45PM -0700, Chris Wright wrote:
> Any reason that fs/gs are specifically handled with mov not movl in
> these cases?
> 
>  #define deactivate_mm(tsk, mm) \
> -     asm("movl %0,%%fs ; movl %0,%%gs": :"r" (0))
> +     asm("mov %0,%%fs ; mov %0,%%gs": :"r" (0))
mov works for both x86 and x86-64 ...
... though I don't know whether that's relevant here.
Best,
-- 
Kurt Garloff                   <kurt@xxxxxxxxxx>             [Koeln, DE]
Physics:Plasma modeling <garloff@xxxxxxxxxxxxxxxxxxx> [TU Eindhoven, NL]
Linux: SUSE Labs (Director)    <garloff@xxxxxxx>            [Novell Inc]
Attachment:
pgpQLVSLJp08j.pgp _______________________________________________ Xen-merge mailing list Xen-merge@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-merge 
 
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |