Skip to content
Commit afd7969a authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

x86/mm/cpa: Rework static_protections()



static_protections() is pretty unreadable. Split it up into separate checks
for each protection area.

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Reviewed-by: default avatarDave Hansen <dave.hansen@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Bin Yang <bin.yang@intel.com>
Cc: Mark Gross <mark.gross@intel.com>
Link: https://lkml.kernel.org/r/20180917143545.913005317@linutronix.de
parent 8679de09
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment