x86/boot/e820: Rename parse_e820_ext() to e820__memory_setup_extended()

parse_e820_ext() is very similar to e820__memory_setup_default(), both are
taking bootloader provided data, add it to the E820 table and then
pass it sanitize_e820_table().

Rename it to e820__memory_setup_extended() to better signal their similar role.

No change in functionality.

Cc: Alex Thorlton <athorlton@sgi.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Huang, Ying <ying.huang@intel.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Juergen Gross <jgross@suse.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul Jackson <pj@sgi.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Tejun Heo <tj@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Wei Yang <richard.weiyang@gmail.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
Ingo Molnar 2017-01-28 13:18:40 +01:00
parent 4270fd8b4c
commit 914053c08e
3 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ extern u64 e820_update_range(u64 start, u64 size, unsigned old_type, unsigned n
extern u64 e820_remove_range(u64 start, u64 size, unsigned old_type, int checktype); extern u64 e820_remove_range(u64 start, u64 size, unsigned old_type, int checktype);
extern void update_e820(void); extern void update_e820(void);
extern void e820_setup_gap(void); extern void e820_setup_gap(void);
extern void parse_e820_ext(u64 phys_addr, u32 data_len); extern void e820__memory_setup_extended(u64 phys_addr, u32 data_len);
extern unsigned long e820_end_of_ram_pfn(void); extern unsigned long e820_end_of_ram_pfn(void);
extern unsigned long e820_end_of_low_ram_pfn(void); extern unsigned long e820_end_of_low_ram_pfn(void);
extern u64 early_reserve_e820(u64 sizet, u64 align); extern u64 early_reserve_e820(u64 sizet, u64 align);

View File

@ -665,7 +665,7 @@ __init void e820_reallocate_tables(void)
* the remaining (if any) entries are passed via the SETUP_E820_EXT node of * the remaining (if any) entries are passed via the SETUP_E820_EXT node of
* struct setup_data, which is parsed here. * struct setup_data, which is parsed here.
*/ */
void __init parse_e820_ext(u64 phys_addr, u32 data_len) void __init e820__memory_setup_extended(u64 phys_addr, u32 data_len)
{ {
int entries; int entries;
struct e820_entry *extmap; struct e820_entry *extmap;

View File

@ -426,7 +426,7 @@ static void __init parse_setup_data(void)
switch (data_type) { switch (data_type) {
case SETUP_E820_EXT: case SETUP_E820_EXT:
parse_e820_ext(pa_data, data_len); e820__memory_setup_extended(pa_data, data_len);
break; break;
case SETUP_DTB: case SETUP_DTB:
add_dtb(pa_data); add_dtb(pa_data);