Andrew Geissler | e34f896 | 2021-04-15 15:53:51 -0500 | [diff] [blame] | 1 | From 53b9f97fb7faed043134f2ab738347b20379d32f Mon Sep 17 00:00:00 2001 |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Tue, 6 Jun 2017 07:39:28 -0700 |
Andrew Geissler | e34f896 | 2021-04-15 15:53:51 -0500 | [diff] [blame] | 4 | Subject: [PATCH 5/6] Undefine PAGE_SIZE |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 5 | |
| 6 | musl defines PAGE_SIZE and build complains |
| 7 | of multiple definitions |
| 8 | |
| 9 | Upstream-Status: Pending |
| 10 | |
| 11 | Signed-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 | diff --git a/src/lib/src/fwts_acpi_tables.c b/src/lib/src/fwts_acpi_tables.c |
Andrew Geissler | e34f896 | 2021-04-15 15:53:51 -0500 | [diff] [blame] | 17 | index dc42a8bd..4fa1246a 100644 |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 18 | --- 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 Geissler | e34f896 | 2021-04-15 15:53:51 -0500 | [diff] [blame] | 28 | -- |
| 29 | 2.25.1 |
| 30 | |