2014-05-22 19:01:15 +00:00
|
|
|
Re-enable use of these tools on big-endian machines.
|
|
|
|
|
2016-01-07 00:44:04 +00:00
|
|
|
From: Al Stone <ahs3@redhat.com>
|
|
|
|
|
2014-05-22 19:01:15 +00:00
|
|
|
Al Stone <ahs3@redhat.com>
|
2016-01-07 00:44:04 +00:00
|
|
|
---
|
|
|
|
source/compiler/aslmain.c | 12 ------------
|
|
|
|
1 file changed, 12 deletions(-)
|
2014-05-22 19:01:15 +00:00
|
|
|
|
2017-08-11 22:17:24 +00:00
|
|
|
Index: acpica-unix2-20170531/source/compiler/aslmain.c
|
2016-03-19 21:32:48 +00:00
|
|
|
===================================================================
|
2017-08-11 22:17:24 +00:00
|
|
|
--- 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);
|
2014-05-22 19:01:15 +00:00
|
|
|
|
|
|
|
- /*
|
|
|
|
- * Big-endian machines are not currently supported. ACPI tables must
|
|
|
|
- * be little-endian, and support for big-endian machines needs to
|
|
|
|
- * be implemented.
|
|
|
|
- */
|
2016-02-23 00:42:58 +00:00
|
|
|
- if (UtIsBigEndianMachine ())
|
2014-05-22 19:01:15 +00:00
|
|
|
- {
|
|
|
|
- fprintf (stderr,
|
|
|
|
- "iASL is not currently supported on big-endian machines.\n");
|
|
|
|
- return (-1);
|
|
|
|
- }
|
|
|
|
-
|
2014-07-28 21:06:33 +00:00
|
|
|
AcpiOsInitialize ();
|
2014-05-22 19:01:15 +00:00
|
|
|
ACPI_DEBUG_INITIALIZE (); /* For debug version only */
|
|
|
|
|