[CRIU] [PATCH 10/13] zdtm: Add cpuid.h

Cyrill Gorcunov gorcunov at openvz.org
Fri Dec 14 09:19:32 EST 2012


The test for fpu transition will require to do
a runtime check for the cpu features it's running
on. For this sake we need to use cpuid. Thus make
it more widely available by providing in the general
header.

The code is adopted from the linux kernel code.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 test/zdtm/lib/cpuid.h | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 test/zdtm/lib/cpuid.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0010-zdtm-Add-cpuid.h.patch
Type: text/x-patch
Size: 1057 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20121214/4a62c41f/attachment.bin>


More information about the CRIU mailing list