Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpuid: move functions from cpuid.h into cpuid.c #247

Merged
merged 2 commits into from
Jan 25, 2022

Conversation

wipawel
Copy link
Contributor

@wipawel wipawel commented Jan 24, 2022

Functions in cpuid.h deserve their own C file and should not be inlined. The CPUID functionality should also go to arch/x86 directories.

@wipawel wipawel requested a review from a team as a code owner January 24, 2022 16:18
82marbag
82marbag previously approved these changes Jan 24, 2022
dkgupta-amzn
dkgupta-amzn previously approved these changes Jan 24, 2022
Copy link
Contributor

@dkgupta-amzn dkgupta-amzn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've only one comment on when "get_cpu_freq" returns 0, how should we treat that at callsite?
Otherwise PR is approved.

common/setup.c Show resolved Hide resolved
auto-merge was automatically disabled January 24, 2022 21:02

Rebase failed

While at it, move cpuid.h into arch/x86 directory.

Signed-off-by: Pawel Wieczorkiewicz <[email protected]>
@wipawel wipawel merged commit ec6eb30 into KernelTestFramework:mainline Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants