mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-11 21:06:44 +07:00
x86/boot/e820: Rename e820_print_map() to e820__print_table()
All other table-level methods are already named 'table' in some way, to change this one over to the (now consistent) nomenclature. 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:
parent
ab6bc04cfd
commit
be0c3f0fca
@ -15,7 +15,7 @@ extern void e820__range_add (u64 start, u64 size, int type);
|
|||||||
extern u64 e820__range_update(u64 start, u64 size, unsigned old_type, unsigned new_type);
|
extern u64 e820__range_update(u64 start, u64 size, unsigned old_type, unsigned new_type);
|
||||||
extern u64 e820__range_remove(u64 start, u64 size, unsigned old_type, int checktype);
|
extern u64 e820__range_remove(u64 start, u64 size, unsigned old_type, int checktype);
|
||||||
|
|
||||||
extern void e820_print_map(char *who);
|
extern void e820__print_table(char *who);
|
||||||
extern int e820__update_table(struct e820_entry *biosmap, int max_nr_map, u32 *pnr_map);
|
extern int e820__update_table(struct e820_entry *biosmap, int max_nr_map, u32 *pnr_map);
|
||||||
extern void e820__update_table_print(void);
|
extern void e820__update_table_print(void);
|
||||||
extern void e820__setup_pci_gap(void);
|
extern void e820__setup_pci_gap(void);
|
||||||
|
@ -160,7 +160,7 @@ static void __init e820_print_type(u32 type)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void __init e820_print_map(char *who)
|
void __init e820__print_table(char *who)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
@ -552,7 +552,7 @@ void __init e820__update_table_print(void)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
pr_info("e820: modified physical RAM map:\n");
|
pr_info("e820: modified physical RAM map:\n");
|
||||||
e820_print_map("modified");
|
e820__print_table("modified");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __init e820__update_table_firmware(void)
|
static void __init e820__update_table_firmware(void)
|
||||||
@ -680,7 +680,7 @@ void __init e820__memory_setup_extended(u64 phys_addr, u32 data_len)
|
|||||||
|
|
||||||
early_memunmap(sdata, data_len);
|
early_memunmap(sdata, data_len);
|
||||||
pr_info("e820: extended physical RAM map:\n");
|
pr_info("e820: extended physical RAM map:\n");
|
||||||
e820_print_map("extended");
|
e820__print_table("extended");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -934,7 +934,7 @@ void __init e820_reserve_setup_data(void)
|
|||||||
e820__update_table(e820_table->entries, ARRAY_SIZE(e820_table->entries), &e820_table->nr_entries);
|
e820__update_table(e820_table->entries, ARRAY_SIZE(e820_table->entries), &e820_table->nr_entries);
|
||||||
memcpy(e820_table_firmware, e820_table, sizeof(struct e820_table));
|
memcpy(e820_table_firmware, e820_table, sizeof(struct e820_table));
|
||||||
printk(KERN_INFO "extended physical RAM map:\n");
|
printk(KERN_INFO "extended physical RAM map:\n");
|
||||||
e820_print_map("reserve setup_data");
|
e820__print_table("reserve setup_data");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -949,7 +949,7 @@ void __init e820__finish_early_params(void)
|
|||||||
early_panic("Invalid user supplied memory map");
|
early_panic("Invalid user supplied memory map");
|
||||||
|
|
||||||
pr_info("e820: user-defined physical RAM map:\n");
|
pr_info("e820: user-defined physical RAM map:\n");
|
||||||
e820_print_map("user");
|
e820__print_table("user");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1167,7 +1167,7 @@ void __init e820__memory_setup(void)
|
|||||||
memcpy(e820_table_firmware, e820_table, sizeof(struct e820_table));
|
memcpy(e820_table_firmware, e820_table, sizeof(struct e820_table));
|
||||||
|
|
||||||
pr_info("e820: BIOS-provided physical RAM map:\n");
|
pr_info("e820: BIOS-provided physical RAM map:\n");
|
||||||
e820_print_map(who);
|
e820__print_table(who);
|
||||||
}
|
}
|
||||||
|
|
||||||
void __init e820__memblock_setup(void)
|
void __init e820__memblock_setup(void)
|
||||||
|
@ -1035,7 +1035,7 @@ void __init setup_arch(char **cmdline_p)
|
|||||||
E820_RESERVED);
|
E820_RESERVED);
|
||||||
e820__update_table(e820_table->entries, ARRAY_SIZE(e820_table->entries), &e820_table->nr_entries);
|
e820__update_table(e820_table->entries, ARRAY_SIZE(e820_table->entries), &e820_table->nr_entries);
|
||||||
printk(KERN_INFO "fixed physical RAM map:\n");
|
printk(KERN_INFO "fixed physical RAM map:\n");
|
||||||
e820_print_map("bad_ppro");
|
e820__print_table("bad_ppro");
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
early_gart_iommu_check();
|
early_gart_iommu_check();
|
||||||
|
Loading…
Reference in New Issue
Block a user