diff options
Diffstat (limited to 'arch/arm64/mm/init.c')
| -rw-r--r-- | arch/arm64/mm/init.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm64/mm/init.c b/arch/arm64/mm/init.c index 9b432d9fcada..0340e45655c6 100644 --- a/arch/arm64/mm/init.c +++ b/arch/arm64/mm/init.c | |||
| @@ -610,14 +610,6 @@ void __init mem_init(void) | |||
| 610 | BUILD_BUG_ON(TASK_SIZE_32 > TASK_SIZE_64); | 610 | BUILD_BUG_ON(TASK_SIZE_32 > TASK_SIZE_64); |
| 611 | #endif | 611 | #endif |
| 612 | 612 | ||
| 613 | #ifdef CONFIG_SPARSEMEM_VMEMMAP | ||
| 614 | /* | ||
| 615 | * Make sure we chose the upper bound of sizeof(struct page) | ||
| 616 | * correctly when sizing the VMEMMAP array. | ||
| 617 | */ | ||
| 618 | BUILD_BUG_ON(sizeof(struct page) > (1 << STRUCT_PAGE_MAX_SHIFT)); | ||
| 619 | #endif | ||
| 620 | |||
| 621 | if (PAGE_SIZE >= 16384 && get_num_physpages() <= 128) { | 613 | if (PAGE_SIZE >= 16384 && get_num_physpages() <= 128) { |
| 622 | extern int sysctl_overcommit_memory; | 614 | extern int sysctl_overcommit_memory; |
| 623 | /* | 615 | /* |
