diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2015-03-31 21:53:19 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-04-01 12:16:38 +1100 |
commit | 7ac9925b879405b742fe175e397fc99a4822aa48 (patch) | |
tree | 68a26c414631b944ecb5c4921ee4b4c31f6da4ea /asm | |
parent | 7ab4251b813ac09785cdb001a7cf354329eb7675 (diff) | |
download | skiboot-7ac9925b879405b742fe175e397fc99a4822aa48.zip skiboot-7ac9925b879405b742fe175e397fc99a4822aa48.tar.gz skiboot-7ac9925b879405b742fe175e397fc99a4822aa48.tar.bz2 |
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.S | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |