search for: _edx

Displaying 1 result from an estimated 1 matches for "_edx".

Did you mean: __edx
2011 Mar 14
0
[PATCH] x86: add volatile prefix for cpuid asm clauses
...or.h --- a/xen/include/asm-x86/processor.h Thu Mar 10 18:37:40 2011 +0000 +++ b/xen/include/asm-x86/processor.h Wed Mar 16 02:30:49 2011 +0800 @@ -223,7 +223,7 @@ static always_inline void detect_ht(stru * resulting in stale register contents being returned. */ #define cpuid(_op,_eax,_ebx,_ecx,_edx) \ - asm ( "cpuid" \ + asm volatile ( "cpuid" \ : "=a" (*(int *)(_eax)), \ "=b" (*(int *)(_ebx)), \ "=c" (*(int *)(_ecx)...