Cleanup #7869
arch: use cpuid.h when possible
% Done:
100%
Spent time:
Tags:
arch cpuid
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
Milosz Tanski <milosz@adfin.com>:
Instead of doing cpuid manually you can use builtins provided in gcc
(and in clang). There's a cpuid.h header you can include. This
stackoverflow answer has a good summary of it: http://stackoverflow.com/questions/14266772/how-do-i-call-cpuid-in-linux?answertab=votes#tab-top
History
#1 Updated by Jos Collin almost 7 years ago
- Assignee set to Jos Collin
#2 Updated by Jos Collin almost 7 years ago
- Status changed from New to Fix Under Review
Created PR: https://github.com/ceph/ceph/pull/14857
#3 Updated by Jos Collin almost 7 years ago
- Status changed from Fix Under Review to In Progress
The PR is approved
#4 Updated by Jos Collin almost 7 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
- Estimated time set to 1.00 h
Pull request was merged as commit 0807f38 by yuriw
#5 Updated by Jos Collin almost 7 years ago
- Estimated time deleted (
1.00 h) - Tags set to arch cpuid