Skip to content
Commit 52ec03f7 authored by Tyler Hicks's avatar Tyler Hicks Committed by Catalin Marinas
Browse files

arm64: kaslr: Refactor early init command line parsing



Don't ask for *the* command line string to search for "nokaslr" in
kaslr_early_init(). Instead, tell a helper function to search all the
appropriate command line strings for "nokaslr" and return the result.

This paves the way for searching multiple command line strings without
having to concatenate the strings in early init.

Signed-off-by: default avatarTyler Hicks <tyhicks@linux.microsoft.com>
Link: https://lore.kernel.org/r/20200921191557.350256-2-tyhicks@linux.microsoft.com


Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent f8394f23
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment