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)
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

Simple merge