aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/pseries
diff options
context:
space:
mode:
authorAruna Balakrishnaiah <aruna@linux.vnet.ibm.com>2013-08-16 16:53:19 -0400
committerTony Luck <tony.luck@intel.com>2013-08-19 13:18:11 -0400
commit9a4e1398208d147a9240731a1f8cfe7d8cc4c553 (patch)
tree61b16758244f641d861839887b19d5a0a144223a /arch/powerpc/platforms/pseries
parentb0aad7a99c1df90c23ff4bac76eea9cf25049e9e (diff)
pstore: Introduce new argument 'compressed' in the read callback
Backends will set the flag 'compressed' after reading the log from persistent store to indicate the data being returned to pstore is compressed or not. 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>
Diffstat (limited to 'arch/powerpc/platforms/pseries')
-rw-r--r--arch/powerpc/platforms/pseries/nvram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/nvram.c b/arch/powerpc/platforms/pseries/nvram.c
index dbe5dadb5fcc..6c4dc52ac0b5 100644
--- a/arch/powerpc/platforms/pseries/nvram.c
+++ b/arch/powerpc/platforms/pseries/nvram.c
@@ -598,7 +598,7 @@ static int nvram_pstore_write(enum pstore_type_id type,
598 */ 598 */
599static ssize_t nvram_pstore_read(u64 *id, enum pstore_type_id *type, 599static ssize_t nvram_pstore_read(u64 *id, enum pstore_type_id *type,
600 int *count, struct timespec *time, char **buf, 600 int *count, struct timespec *time, char **buf,
601 struct pstore_info *psi) 601 bool *compressed, struct pstore_info *psi)
602{ 602{
603 struct oops_log_info *oops_hdr; 603 struct oops_log_info *oops_hdr;
604 unsigned int err_type, id_no, size = 0; 604 unsigned int err_type, id_no, size = 0;