lkml.org 
[lkml]   [2004]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] [CAN-2004-1144] Fix int 0x80 hole in 2.4 x86-64 linux kernels
    On Wed, Dec 22, 2004 at 07:20:48PM +0100, Willy Tarreau wrote:
    > Hi Andi,
    >
    > On Wed, Dec 22, 2004 at 06:58:18PM +0100, Andi Kleen wrote:
    > (...)
    > > sti
    > > + movl %eax,%eax
    > > pushq %rax
    >
    > Although I don't know about x86_64 assembly, I know x86 and I wonder
    > how this patch would do anything. I would personnaly have written something
    > more like :

    An 32bit write in long mode clears the upper 32bits of the register.
    See the x86-64 architecture manuals for more details.

    -Andi
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:08    [W:0.038 / U:124.896 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site