]> git.pld-linux.org Git - packages/acpica.git/blob - re-enable-big-endian.patch
- updated tests
[packages/acpica.git] / re-enable-big-endian.patch
1 Re-enable use of these tools on big-endian machines.
2
3 From: Al Stone <ahs3@redhat.com>
4
5 Al Stone <ahs3@redhat.com>
6 ---
7  source/compiler/aslmain.c |   12 ------------
8  1 file changed, 12 deletions(-)
9
10 Index: acpica-unix2-20161222/source/compiler/aslmain.c
11 ===================================================================
12 --- acpica-unix2-20161222.orig/source/compiler/aslmain.c
13 +++ acpica-unix2-20161222/source/compiler/aslmain.c
14 @@ -99,18 +99,6 @@ main (
15      int                     ReturnStatus = 0;
16  
17  
18 -    /*
19 -     * Big-endian machines are not currently supported. ACPI tables must
20 -     * be little-endian, and support for big-endian machines needs to
21 -     * be implemented.
22 -     */
23 -    if (UtIsBigEndianMachine ())
24 -    {
25 -        fprintf (stderr,
26 -            "iASL is not currently supported on big-endian machines.\n");
27 -        return (-1);
28 -    }
29 -
30      AcpiOsInitialize ();
31      ACPI_DEBUG_INITIALIZE (); /* For debug version only */
32  
This page took 0.077167 seconds and 3 git commands to generate.