diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-11-19 20:08:39 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-11-19 20:08:39 -0200 |
commit | 66368e2767c6b888a7c06ad9f00ca36f5ac1d636 (patch) | |
tree | c7fbe15e3dc729e1bec52e0a4aa67b6b075a47e8 /kernels/xen/24344.patch | |
parent | 37489d59c329d34f8ad6645e8595b43ff8aec998 (diff) | |
download | abslibre-66368e2767c6b888a7c06ad9f00ca36f5ac1d636.tar.gz abslibre-66368e2767c6b888a7c06ad9f00ca36f5ac1d636.tar.bz2 abslibre-66368e2767c6b888a7c06ad9f00ca36f5ac1d636.zip |
xen-4.2.0-12: updating version
Diffstat (limited to 'kernels/xen/24344.patch')
-rwxr-xr-x | kernels/xen/24344.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/kernels/xen/24344.patch b/kernels/xen/24344.patch deleted file mode 100755 index 642b90867..000000000 --- a/kernels/xen/24344.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- a/tools/libxc/xc_cpuid_x86.c 2011-10-20 15:05:42.000000000 -0200 -+++ b/tools/libxc/xc_cpuid_x86.c 2012-02-15 00:01:46.307514813 -0200 -@@ -42,23 +42,23 @@ - static void cpuid(const unsigned int *input, unsigned int *regs) - { - unsigned int count = (input[1] == XEN_CPUID_INPUT_UNUSED) ? 0 : input[1]; -- asm ( - #ifdef __i386__ -+/* Use the stack to avoid reg constraint failures with some gcc flags */ -+ asm ( - "push %%ebx; push %%edx\n\t" --#else -- "push %%rbx; push %%rdx\n\t" --#endif - "cpuid\n\t" - "mov %%ebx,4(%4)\n\t" - "mov %%edx,12(%4)\n\t" --#ifdef __i386__ - "pop %%edx; pop %%ebx\n\t" -+ : "=a" (regs[0]), "=c" (regs[2]) -+ : "0" (input[0]), "1" (count), "S" (regs) -+ : "memory" ); - #else -- "pop %%rdx; pop %%rbx\n\t" -+ asm ( -+ "cpuid" -+ : "=a" (regs[0]), "=b" (regs[1]), "=c" (regs[2]), "=d" (regs[3]) -+ : "0" (input[0]), "2" (count) ); - #endif -- : "=a" (regs[0]), "=c" (regs[2]) -- : "0" (input[0]), "1" (count), "S" (regs) -- : "memory" ); - } |