Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 1 | From 244e9551ab9bbc1dfa91d19cd472ef254a94ae41 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 |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 4 | Subject: [PATCH] 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> |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 12 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 13 | --- |
| 14 | src/lib/src/fwts_acpi_tables.c | 1 + |
| 15 | 1 file changed, 1 insertion(+) |
| 16 | |
| 17 | diff --git a/src/lib/src/fwts_acpi_tables.c b/src/lib/src/fwts_acpi_tables.c |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 18 | index bdd224aa..58e982a6 100644 |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 19 | --- 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]; |