lkml.org 
[lkml]   [2015]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v2 3/3] selftests/x86, x86/ldt: Add a selftest for modify_ldt
On Tue, Jul 21, 2015 at 3:02 PM, Boris Ostrovsky
<boris.ostrovsky@oracle.com> wrote:
> On 07/21/2015 03:59 PM, Andy Lutomirski wrote:
>>
>> diff --git a/tools/testing/selftests/x86/ldt_gdt.c
>> b/tools/testing/selftests/x86/ldt_gdt.c
>> new file mode 100644
>> index 000000000000..6f6699f0351a
>> --- /dev/null
>> +++ b/tools/testing/selftests/x86/ldt_gdt.c
>> @@ -0,0 +1,492 @@
>> +/*
>> + * ldt_gdt.c - Test cases for LDT and GDT access
>> + * Copyright (c) 2015 Andrew Lutomirski
>> + */
>> +
>> +#define _GNU_SOURCE
>> +#include <err.h>
>> +#include <stdio.h>
>> +#include <stdint.h>
>> +#include <signal.h>
>> +#include <setjmp.h>
>> +#include <string.h>
>> +#include <errno.h>
>> +#include <xmmintrin.h>
>
>
> Is xmmintrin.h necessary? It breaks 32-bit build with

no, and I'll remove it.

--Andy


\
 
 \ /
  Last update: 2015-07-22 00:41    [W:0.088 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site