lkml.org 
[lkml]   [2008]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: 2.6.{26.2,27-rc} oops on virtualbox
    Hi Luiz, two more tests:

    1. a small program to run in userspace and tell us what you get;
    2. a patch against -linus for testing.

    -hpa

    #include <stdio.h>

    int main(void)
    {
    unsigned int eax, edx;

    asm(".byte 0x0f,0x1f,0x84,0x00,0x98,0x98,0x98,0x98,0x92,0x90,0x90,0x90"
    : "=a" (eax), "=d" (edx)
    : "a" (0x88776655), "d" (0x44332211));

    printf("%08x:%08x\n", edx, eax);
    return 0;
    }
    diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel/alternative.c
    index 2763cb3..33193fe 100644
    --- a/arch/x86/kernel/alternative.c
    +++ b/arch/x86/kernel/alternative.c
    @@ -157,8 +157,6 @@ static const struct nop {
    } noptypes[] = {
    { X86_FEATURE_K8, k8_nops },
    { X86_FEATURE_K7, k7_nops },
    - { X86_FEATURE_P4, p6_nops },
    - { X86_FEATURE_P3, p6_nops },
    { -1, NULL }
    };
    \
     
     \ /
      Last update: 2008-08-22 20:15    [W:5.871 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site