aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pstore.h
diff options
context:
space:
mode:
authorAruna Balakrishnaiah <aruna@linux.vnet.ibm.com>2013-06-06 00:22:20 +0530
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-06-20 17:05:02 +1000
commita5e4797b0f46819a74a7233825137ed5d2f51b51 (patch)
tree2b7df1fd50f6b046a259eb21d046c70dbb70a1d2 /include/linux/pstore.h
parentpowerpc/pseries: Read of-config partition via pstore (diff)
downloadlinux-dev-a5e4797b0f46819a74a7233825137ed5d2f51b51.tar.xz
linux-dev-a5e4797b0f46819a74a7233825137ed5d2f51b51.zip
powerpc/pseries: Read common partition via pstore
This patch exploits pstore subsystem to read details of common partition in NVRAM to a separate file in /dev/pstore. For instance, common partition details will be stored in a file named [common-nvram-6]. Signed-off-by: Aruna Balakrishnaiah <aruna@linux.vnet.ibm.com> Reviewed-by: Jim Keniston <jkenisto@us.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include/linux/pstore.h')
-rw-r--r--include/linux/pstore.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pstore.h b/include/linux/pstore.h
index 615dc18638b8..656699fcc7d7 100644
--- a/include/linux/pstore.h
+++ b/include/linux/pstore.h
@@ -38,6 +38,7 @@ enum pstore_type_id {
/* PPC64 partition types */
PSTORE_TYPE_PPC_RTAS = 4,
PSTORE_TYPE_PPC_OF = 5,
+ PSTORE_TYPE_PPC_COMMON = 6,
PSTORE_TYPE_UNKNOWN = 255
};