[CRIU] [PATCH 10/14] zdtm: Add cpuid.h
Cyrill Gorcunov
gorcunov at openvz.org
Thu Dec 20 06:55:31 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/20121220/5c8758c4/attachment-0001.bin>
More information about the CRIU
mailing list