summaryrefslogtreecommitdiffstats
path: root/asm
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2015-03-31 21:53:19 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-04-01 12:16:38 +1100
commit7ac9925b879405b742fe175e397fc99a4822aa48 (patch)
tree68a26c414631b944ecb5c4921ee4b4c31f6da4ea /asm
parent7ab4251b813ac09785cdb001a7cf354329eb7675 (diff)
downloadtalos-skiboot-7ac9925b879405b742fe175e397fc99a4822aa48.tar.gz
talos-skiboot-7ac9925b879405b742fe175e397fc99a4822aa48.zip
Move contents of opal.h to opal-api.h
Move the contents of opal.h, which is the definition of the OPAL API shared with Linux, into opal-api.h. Recreate opal.h, containing just the include of types.h as well as including opal-api.h and opal-internal.h. We can also remove the #ifdef SKIBOOT, because opal.h is no longer shared with Linux. This gets us to an opal-api.h that is purely a superset of Linux's opal-api.h, ie. the only differences are things that are new in skiboot and haven't yet been added to Linux. Finally update head.S to only include opal-api.h, which is all it needs, and avoids the need for ASSEMBLY guards in opal.h. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'asm')
-rw-r--r--asm/head.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/head.S b/asm/head.S
index a2a8a9f9..0b90d222 100644
--- a/asm/head.S
+++ b/asm/head.S
@@ -18,7 +18,7 @@
#include <asm-offsets.h>
#include <mem-map.h>
#include <processor.h>
-#include <opal.h>
+#include <opal-api.h>
#include <stack.h>
#define EPAPR_MAGIC 0x65504150
OpenPOWER on IntegriCloud