diff options
author | Ankit Kumar <ankit@linux.vnet.ibm.com> | 2017-04-27 14:33:13 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2017-04-28 00:49:05 +0300 |
commit | 041939c1ec54208b42f5cd819209173d52a29d34 (patch) | |
tree | 1876321224442219eb6eef0d9fe8b21e0313489c /include/net/inet_common.h | |
parent | 3509d048c8a813a8f903ffd5f8dc5ca66e3d8716 (diff) | |
download | linux-041939c1ec54208b42f5cd819209173d52a29d34.tar.xz |
pstore: Fix flags to enable dumps on powerpc
After commit c950fd6f201a kernel registers pstore write based on flag set.
Pstore write for powerpc is broken as flags(PSTORE_FLAGS_DMESG) is not set for
powerpc architecture. On panic, kernel doesn't write message to
/fs/pstore/dmesg*(Entry doesn't gets created at all).
This patch enables pstore write for powerpc architecture by setting
PSTORE_FLAGS_DMESG flag.
Fixes: c950fd6f201a ("pstore: Split pstore fragile flags")
Cc: stable@vger.kernel.org # v4.9+
Signed-off-by: Ankit Kumar <ankit@linux.vnet.ibm.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'include/net/inet_common.h')
0 files changed, 0 insertions, 0 deletions