diff options
Diffstat (limited to 'drivers/firmware')
-rw-r--r-- | drivers/firmware/efi/efi-stub-helper.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/firmware/efi/efi-stub-helper.c b/drivers/firmware/efi/efi-stub-helper.c index 96665b730c51..561b9cf7745f 100644 --- a/drivers/firmware/efi/efi-stub-helper.c +++ b/drivers/firmware/efi/efi-stub-helper.c | |||
@@ -46,10 +46,10 @@ static void efi_printk(efi_system_table_t *sys_table_arg, char *str) | |||
46 | } | 46 | } |
47 | 47 | ||
48 | 48 | ||
49 | static efi_status_t __get_map(efi_system_table_t *sys_table_arg, | 49 | static efi_status_t efi_get_memory_map(efi_system_table_t *sys_table_arg, |
50 | efi_memory_desc_t **map, | 50 | efi_memory_desc_t **map, |
51 | unsigned long *map_size, | 51 | unsigned long *map_size, |
52 | unsigned long *desc_size) | 52 | unsigned long *desc_size) |
53 | { | 53 | { |
54 | efi_memory_desc_t *m = NULL; | 54 | efi_memory_desc_t *m = NULL; |
55 | efi_status_t status; | 55 | efi_status_t status; |
@@ -97,7 +97,7 @@ static efi_status_t efi_high_alloc(efi_system_table_t *sys_table_arg, | |||
97 | u64 max_addr = 0; | 97 | u64 max_addr = 0; |
98 | int i; | 98 | int i; |
99 | 99 | ||
100 | status = __get_map(sys_table_arg, &map, &map_size, &desc_size); | 100 | status = efi_get_memory_map(sys_table_arg, &map, &map_size, &desc_size); |
101 | if (status != EFI_SUCCESS) | 101 | if (status != EFI_SUCCESS) |
102 | goto fail; | 102 | goto fail; |
103 | 103 | ||
@@ -183,7 +183,7 @@ static efi_status_t efi_low_alloc(efi_system_table_t *sys_table_arg, | |||
183 | unsigned long nr_pages; | 183 | unsigned long nr_pages; |
184 | int i; | 184 | int i; |
185 | 185 | ||
186 | status = __get_map(sys_table_arg, &map, &map_size, &desc_size); | 186 | status = efi_get_memory_map(sys_table_arg, &map, &map_size, &desc_size); |
187 | if (status != EFI_SUCCESS) | 187 | if (status != EFI_SUCCESS) |
188 | goto fail; | 188 | goto fail; |
189 | 189 | ||