mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 07:26:26 +07:00
1762391530
Now that zone_sizes_init() is identical on 32-bit and 64-bit, move the code to arch/x86/mm/init.c and use it for both architectures. Acked-by: Tejun Heo <tj@kernel.org> Acked-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Pekka Enberg <penberg@kernel.org> Link: http://lkml.kernel.org/r/1320155902-10424-7-git-send-email-penberg@kernel.org Signed-off-by: Ingo Molnar <mingo@elte.hu>
21 lines
511 B
C
21 lines
511 B
C
#ifndef _ASM_X86_INIT_32_H
|
|
#define _ASM_X86_INIT_32_H
|
|
|
|
#ifdef CONFIG_X86_32
|
|
extern void __init early_ioremap_page_table_range_init(void);
|
|
#endif
|
|
|
|
extern void __init zone_sizes_init(void);
|
|
|
|
extern unsigned long __init
|
|
kernel_physical_mapping_init(unsigned long start,
|
|
unsigned long end,
|
|
unsigned long page_size_mask);
|
|
|
|
|
|
extern unsigned long __initdata pgt_buf_start;
|
|
extern unsigned long __meminitdata pgt_buf_end;
|
|
extern unsigned long __meminitdata pgt_buf_top;
|
|
|
|
#endif /* _ASM_X86_INIT_32_H */
|