blob: 319e0855c41ee58907c7c6724d8a05f055c18f9d [file] [log] [blame]
Andrew Geisslere34f8962021-04-15 15:53:51 -05001From 53b9f97fb7faed043134f2ab738347b20379d32f Mon Sep 17 00:00:00 2001
Brad Bishopd7bf8c12018-02-25 22:55:05 -05002From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 6 Jun 2017 07:39:28 -0700
Andrew Geisslere34f8962021-04-15 15:53:51 -05004Subject: [PATCH 5/6] Undefine PAGE_SIZE
Brad Bishopd7bf8c12018-02-25 22:55:05 -05005
6musl defines PAGE_SIZE and build complains
7of multiple definitions
8
9Upstream-Status: Pending
10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 src/lib/src/fwts_acpi_tables.c | 1 +
14 1 file changed, 1 insertion(+)
15
16diff --git a/src/lib/src/fwts_acpi_tables.c b/src/lib/src/fwts_acpi_tables.c
Andrew Geisslere34f8962021-04-15 15:53:51 -050017index dc42a8bd..4fa1246a 100644
Brad Bishopd7bf8c12018-02-25 22:55:05 -050018--- a/src/lib/src/fwts_acpi_tables.c
19+++ b/src/lib/src/fwts_acpi_tables.c
20@@ -42,6 +42,7 @@
21 #define BIOS_START (0x000e0000) /* Start of BIOS memory */
22 #define BIOS_END (0x000fffff) /* End of BIOS memory */
23 #define BIOS_LENGTH (BIOS_END - BIOS_START) /* Length of BIOS memory */
24+#undef PAGE_SIZE
25 #define PAGE_SIZE (4096)
26
27 static fwts_acpi_table_info tables[ACPI_MAX_TABLES];
Andrew Geisslere34f8962021-04-15 15:53:51 -050028--
292.25.1
30