erst: Read and write to the 'compressed' flag of pstore
authorAruna Balakrishnaiah <aruna@linux.vnet.ibm.com>
Fri, 16 Aug 2013 20:57:26 +0000 (13:57 -0700)
committerTony Luck <tony.luck@intel.com>
Mon, 19 Aug 2013 18:53:40 +0000 (11:53 -0700)
commit901037ba31c09132b820f2a21b66444fca735749
treec877eee9042216f3fcd9c79c37710d8aca9aaf82
parent40594264bd622e0865a981f14b98d9e09bc50b14
erst: Read and write to the 'compressed' flag of pstore

In pstore write, set the section type to CPER_SECTION_TYPE_DMESG_COMPR
if the data is compressed. In pstore read, read the section type and
update the 'compressed' flag accordingly.

Signed-off-by: Aruna Balakrishnaiah <aruna@linux.vnet.ibm.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
drivers/acpi/apei/erst.c