acpica-tools/re-enable-big-endian.patch
Al Stone d2e646292a Refresh the patches, and remove one that is no longer needed.
Signed-off-by: Al Stone <ahs3@redhat.com>
2015-10-14 15:00:20 -06:00

28 lines
842 B
Diff

Re-enable use of these tools on big-endian machines.
Al Stone <ahs3@redhat.com>
Index: acpica-unix2-20150930/source/compiler/aslmain.c
===================================================================
--- acpica-unix2-20150930.orig/source/compiler/aslmain.c
+++ acpica-unix2-20150930/source/compiler/aslmain.c
@@ -340,18 +340,6 @@ main (
int ReturnStatus = 0;
- /*
- * Big-endian machines are not currently supported. ACPI tables must
- * be little-endian, and support for big-endian machines needs to
- * be implemented.
- */
- if (AcpiIsBigEndianMachine ())
- {
- fprintf (stderr,
- "iASL is not currently supported on big-endian machines.\n");
- return (-1);
- }
-
AcpiOsInitialize ();
ACPI_DEBUG_INITIALIZE (); /* For debug version only */