acpica-tools/re-enable-big-endian.patch
Al Stone 0a7eb74d55 Update to 20150818 sources
Signed-off-by: Al Stone <ahs3@redhat.com>
2015-09-09 18:44:25 -06:00

28 lines
788 B
Diff

Re-enable use of these tools on big-endian machines.
Al Stone <ahs3@redhat.com>
Index: src/source/compiler/aslmain.c
===================================================================
--- src.orig/source/compiler/aslmain.c
+++ src/source/compiler/aslmain.c
@@ -339,18 +339,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 */