Skip to content
Commit de832092 authored by Kees Cook's avatar Kees Cook
Browse files

pstore: Make ramoops_init_przs generic for other prz arrays



Currently ramoops_init_przs() is hard wired only for panic dump zone
array. In preparation for the ftrace zone array (one zone per-cpu) and pmsg
zone array, make the function more generic to be able to handle this case.

Heavily based on similar work from Joel Fernandes.

Signed-off-by: default avatarKees Cook <keescook@chromium.org>
parent 663deb47
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