acpica-tools/re-enable-big-endian.patch
Al Stone b8ecc85b48 Refresh patches for 20160422 version
Signed-off-by: Al Stone <ahs3@redhat.com>
2016-04-26 09:50:05 -06:00

33 lines
958 B
Diff

Re-enable use of these tools on big-endian machines.
From: Al Stone <ahs3@redhat.com>
Al Stone <ahs3@redhat.com>
---
source/compiler/aslmain.c | 12 ------------
1 file changed, 12 deletions(-)
Index: acpica-unix2-20160422/source/compiler/aslmain.c
===================================================================
--- acpica-unix2-20160422.orig/source/compiler/aslmain.c
+++ acpica-unix2-20160422/source/compiler/aslmain.c
@@ -318,18 +318,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 (UtIsBigEndianMachine ())
- {
- fprintf (stderr,
- "iASL is not currently supported on big-endian machines.\n");
- return (-1);
- }
-
AcpiOsInitialize ();
ACPI_DEBUG_INITIALIZE (); /* For debug version only */