aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2013-08-27 15:09:52 +0530
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-10-30 16:09:34 +1100
commit6f68b5e2c6c04e9cf0e3074f884da36957ce9aae (patch)
treebb2f83cfc00a044d5c4f3926643a1000c4007799 /arch/powerpc/include
parentpowerpc: Add VMX optimised xor for RAID5 (diff)
downloadlinux-dev-6f68b5e2c6c04e9cf0e3074f884da36957ce9aae.tar.xz
linux-dev-6f68b5e2c6c04e9cf0e3074f884da36957ce9aae.zip
powerpc/powernv: Create opal sysfs directory
Create /sys/firmware/opal directory. We wil use this interface to fetch opal error logs, firmware update, etc. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/opal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/opal.h b/arch/powerpc/include/asm/opal.h
index 4cc33ba1edd3..ee0efd2f2abc 100644
--- a/arch/powerpc/include/asm/opal.h
+++ b/arch/powerpc/include/asm/opal.h
@@ -601,6 +601,9 @@ typedef struct oppanel_line {
uint64_t line_len;
} oppanel_line_t;
+/* /sys/firmware/opal */
+extern struct kobject *opal_kobj;
+
/* API functions */
int64_t opal_console_write(int64_t term_number, __be64 *length,
const uint8_t *buffer);