commit | 1e0f67a96aedd0b5fbd3ae743e68a26606ea98e8 | [log] [tgz] |
---|---|---|
author | Yue Hu <huyue2@yulong.com> | Wed Jan 23 16:56:48 2019 +0800 |
committer | Kees Cook <keescook@chromium.org> | Tue Feb 12 12:10:43 2019 -0800 |
tree | 374370fe3ded31a8b5bd66f03a0970bb0aa09c9c | |
parent | 4c6c4d34536744f2c9e171ef5bb548a06a525501 [diff] |
pstore/ram: Move initialization earlier Since only one single ramoops area allowed at a time, other probes (like device tree) are meaningless, as it will waste CPU resources. So let's check for being already initialized first. Signed-off-by: Yue Hu <huyue2@yulong.com> Signed-off-by: Kees Cook <keescook@chromium.org>