File: re-enable-big-endian.patch

package info (click to toggle)
acpica-unix 20160831-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 30,128 kB
  • sloc: ansic: 117,969; sh: 4,078; yacc: 3,709; makefile: 1,323; lex: 1,118
file content (27 lines) | stat: -rw-r--r-- 835 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Re-enable use of these tools on big-endian machines.

Al Stone <ahs3@redhat.com>

Index: acpica-unix-20160831/source/compiler/aslmain.c
===================================================================
--- acpica-unix-20160831.orig/source/compiler/aslmain.c
+++ acpica-unix-20160831/source/compiler/aslmain.c
@@ -99,18 +99,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 */