Skip to content
Commit aee7f913 authored by Ingo Molnar's avatar Ingo Molnar
Browse files

x86/mm/pat: Update the comments in pat.c and pat_interval.c and refresh the code a bit



Tidy up the code:

 - add comments explaining the PAT code, the role of the functions and the logic

 - fix various typos and grammar while at it

 - simplify the file-scope memtype_interval_*() namespace to interval_*()

 - simplify stylistic complications such as unnecessary linebreaks
   or convoluted control flow

 - use the simpler '#ifdef CONFIG_*' pattern instead of '#if defined(CONFIG_*)' pattern

 - remove the non-idiomatic newline between late_initcall() and its function definition

Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent 360db4ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment