[Skiboot] [PATCH 05/36] opal_table_entry members should be native endian
Stewart Smith
stewart at linux.vnet.ibm.com
Tue Nov 10 15:17:59 AEDT 2015
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 at linux.vnet.ibm.com>
---
include/opal-internal.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/opal-internal.h b/include/opal-internal.h
index 3194676d357e..d75a58d9809c 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) \
--
2.1.4
More information about the Skiboot
mailing list