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

Kernel: Add Processor::is_bootstrap_processor() function, and use it. #6871

Merged
merged 1 commit into from
May 5, 2021

Conversation

bgianfo
Copy link
Member

@bgianfo bgianfo commented May 5, 2021

The variety of checks for Processor::id() == 0 could use some assistance
int he readability department. This change adds a new function to
represent this check, and replaces the comparison everywhere it's used.

The variety of checks for Processor::id() == 0 could use some assistance
int he readability department. This change adds a new function to
represent this check, and replaces the comparison everywhere it's used.
@bgianfo bgianfo requested a review from tomuta May 5, 2021 04:56
@linusg
Copy link
Member

linusg commented May 5, 2021

int he -> in the

@awesomekling awesomekling merged commit 64b4e3f into SerenityOS:master May 5, 2021
@bgianfo bgianfo deleted the is_bootstrap_processor branch May 6, 2021 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants