summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powernv/opal-wrappers.S
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2014-04-01 14:28:20 +1030
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-04-09 12:53:23 +1000
commite28b05e7ae8ba09e030ffe891ba154df5791cb76 (patch)
treea62d90b0c2bf4b5703706ab9549aba3cbb4430cb /arch/powerpc/platforms/powernv/opal-wrappers.S
parentbfc36894a48b996eba7e02d8e43093a289c1fb91 (diff)
downloadtalos-op-linux-e28b05e7ae8ba09e030ffe891ba154df5791cb76.tar.gz
talos-op-linux-e28b05e7ae8ba09e030ffe891ba154df5791cb76.zip
powerpc/powernv: Add invalid OPAL call
This call will not be understood by OPAL, and cause it to add an error to it's log. Among other things, this is useful for testing the behaviour of the log as it fills up. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/powernv/opal-wrappers.S')
-rw-r--r--arch/powerpc/platforms/powernv/opal-wrappers.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/powernv/opal-wrappers.S b/arch/powerpc/platforms/powernv/opal-wrappers.S
index bb90f9a4e027..f531ffe35b3e 100644
--- a/arch/powerpc/platforms/powernv/opal-wrappers.S
+++ b/arch/powerpc/platforms/powernv/opal-wrappers.S
@@ -61,6 +61,7 @@ _STATIC(opal_return)
mtcr r4;
rfid
+OPAL_CALL(opal_invalid_call, OPAL_INVALID_CALL);
OPAL_CALL(opal_console_write, OPAL_CONSOLE_WRITE);
OPAL_CALL(opal_console_read, OPAL_CONSOLE_READ);
OPAL_CALL(opal_console_write_buffer_space, OPAL_CONSOLE_WRITE_BUFFER_SPACE);
OpenPOWER on IntegriCloud