acpica-tools/re-enable-big-endian.patch
Al Stone b0fde58d3b Update to 20170531 upstream sources
Signed-off-by: Al Stone <ahs3@redhat.com>
2017-08-11 16:17:24 -06:00

33 lines
990 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-20170531/source/compiler/aslmain.c
===================================================================
--- acpica-unix2-20170531.orig/source/compiler/aslmain.c
+++ acpica-unix2-20170531/source/compiler/aslmain.c
@@ -102,18 +102,6 @@ main (
signal (SIGINT, AslSignalHandler);
signal (SIGSEGV, AslSignalHandler);
- /*
- * 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 */