blob: 1d8c620efa27ba3025517152a989f703c1fee229 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From 244e9551ab9bbc1dfa91d19cd472ef254a94ae41 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
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08004Subject: [PATCH] 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>
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080012
Brad Bishopd7bf8c12018-02-25 22:55:05 -050013---
14 src/lib/src/fwts_acpi_tables.c | 1 +
15 1 file changed, 1 insertion(+)
16
17diff --git a/src/lib/src/fwts_acpi_tables.c b/src/lib/src/fwts_acpi_tables.c
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080018index bdd224aa..58e982a6 100644
Brad Bishopd7bf8c12018-02-25 22:55:05 -050019--- a/src/lib/src/fwts_acpi_tables.c
20+++ b/src/lib/src/fwts_acpi_tables.c
21@@ -42,6 +42,7 @@
22 #define BIOS_START (0x000e0000) /* Start of BIOS memory */
23 #define BIOS_END (0x000fffff) /* End of BIOS memory */
24 #define BIOS_LENGTH (BIOS_END - BIOS_START) /* Length of BIOS memory */
25+#undef PAGE_SIZE
26 #define PAGE_SIZE (4096)
27
28 static fwts_acpi_table_info tables[ACPI_MAX_TABLES];