acpica-tools/re-enable-big-endian.patch
Al Stone f0defaed2f Refresh all of the patches, remove one unneeded one (acpinames).
Signed-off-by: Al Stone <ahs3@redhat.com>
2016-01-06 17:44:04 -07:00

33 lines
889 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(-)
diff --git a/source/compiler/aslmain.c b/source/compiler/aslmain.c
index 795a047..63420db 100644
--- a/source/compiler/aslmain.c
+++ b/source/compiler/aslmain.c
@@ -341,18 +341,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 (AcpiIsBigEndianMachine ())
- {
- fprintf (stderr,
- "iASL is not currently supported on big-endian machines.\n");
- return (-1);
- }
-
AcpiOsInitialize ();
ACPI_DEBUG_INITIALIZE (); /* For debug version only */