summaryrefslogtreecommitdiffstats
path: root/include/opal-internal.h
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2015-11-09 16:28:37 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-11-09 16:39:39 +1100
commitc9c47e491bfaec5f0698b2f6ec07b202fc8db5c6 (patch)
tree6b9b1b802a6c6f707cdaae7ffd98198748d9eee5 /include/opal-internal.h
parentd2a6b255430d4d0b05e1b476f54611fd76eda50b (diff)
downloadblackbird-skiboot-c9c47e491bfaec5f0698b2f6ec07b202fc8db5c6.tar.gz
blackbird-skiboot-c9c47e491bfaec5f0698b2f6ec07b202fc8db5c6.zip
opal_table_entry members should be native endian
Since the opal_table is just internal, it should be in native endian rather than forcing it to be BE. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/opal-internal.h')
-rw-r--r--include/opal-internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/opal-internal.h b/include/opal-internal.h
index 3194676d..d75a58d9 100644
--- a/include/opal-internal.h
+++ b/include/opal-internal.h
@@ -24,8 +24,8 @@
/* An opal table entry */
struct opal_table_entry {
void *func;
- __be32 token;
- __be32 nargs;
+ u32 token;
+ u32 nargs;
};
#define opal_call(__tok, __func, __nargs) \
OpenPOWER on IntegriCloud