File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,8 @@ void __init arm64_hugetlb_cma_reserve(void)
43
43
if (pud_sect_supported ())
44
44
order = PUD_SHIFT - PAGE_SHIFT ;
45
45
else
46
- order = CONT_PMD_SHIFT + PMD_SHIFT - PAGE_SHIFT ;
46
+ order = CONT_PMD_SHIFT - PAGE_SHIFT ;
47
+
47
48
/*
48
49
* HugeTLB CMA reservation is required for gigantic
49
50
* huge pages which could not be allocated via the
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ struct acpi_gtdt_descriptor {
36
36
37
37
static struct acpi_gtdt_descriptor acpi_gtdt_desc __initdata ;
38
38
39
- static inline void * next_platform_timer (void * platform_timer )
39
+ static inline __init void * next_platform_timer (void * platform_timer )
40
40
{
41
41
struct acpi_gtdt_header * gh = platform_timer ;
42
42
You can’t perform that action at this time.
0 commit comments