]> git.pld-linux.org Git - packages/acpica.git/blob - re-enable-big-endian.patch
add tests tarball, add patches from fedora
[packages/acpica.git] / re-enable-big-endian.patch
1 Re-enable use of these tools on big-endian machines.
2
3 Al Stone <ahs3@redhat.com>
4
5 diff -Naur acpica-unix2-20140424/source/compiler/aslmain.c acpica-unix2-20140424-patch/source/compiler/aslmain.c
6 --- acpica-unix2-20140424/source/compiler/aslmain.c     2014-04-24 09:48:59.000000000 -0600
7 +++ acpica-unix2-20140424-patch/source/compiler/aslmain.c       2014-05-22 12:55:47.634904320 -0600
8 @@ -331,18 +319,6 @@
9      int                     ReturnStatus = 0;
10  
11  
12 -    /*
13 -     * Big-endian machines are not currently supported. ACPI tables must
14 -     * be little-endian, and support for big-endian machines needs to
15 -     * be implemented.
16 -     */
17 -    if (AcpiIsBigEndianMachine ())
18 -    {
19 -        fprintf (stderr,
20 -            "iASL is not currently supported on big-endian machines.\n");
21 -        return (-1);
22 -    }
23 -
24      AcpiOsInitialize ();
25      ACPI_DEBUG_INITIALIZE (); /* For debug version only */
26  
This page took 0.092997 seconds and 4 git commands to generate.