commit | de83209249d64bad993f25d3ea4bba57683e2e2e | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Fri Nov 11 11:48:06 2016 -0800 |
committer | Kees Cook <keescook@chromium.org> | Tue Nov 15 16:34:25 2016 -0800 |
tree | 4f49a58162a90754ea5833c5a797bc166f84ae51 | |
parent | 663deb47880f2283809669563c5a52ac7c6aef1a [diff] |
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: Kees Cook <keescook@chromium.org>