1From 53b9f97fb7faed043134f2ab738347b20379d32f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 6 Jun 2017 07:39:28 -0700
4Subject: [PATCH 5/6] Undefine PAGE_SIZE
5
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
16--- a/src/lib/src/fwts_acpi_tables.c
17+++ b/src/lib/src/fwts_acpi_tables.c
18@@ -40,6 +40,7 @@
19 #define BIOS_START	(0x000e0000)		/* Start of BIOS memory */
20 #define BIOS_END  	(0x000fffff)		/* End of BIOS memory */
21 #define BIOS_LENGTH	(BIOS_END - BIOS_START)	/* Length of BIOS memory */
22+#undef PAGE_SIZE
23 #define PAGE_SIZE	(4096)
24
25 static fwts_acpi_table_info	tables[ACPI_MAX_TABLES];
26