mirror of
https://github.com/torvalds/linux.git
synced 2024-12-19 09:32:32 +00:00
22ddfcaa0d
Now init_memory_mapping is called two times, later will be called for every
ram ranges.
Could put all related init_mem calling together and out of setup.c.
Actually, it reverts commit 1bbbbe7
x86: Exclude E820_RESERVED regions and memory holes above 4 GB from direct mapping.
will address that later with complete solution include handling hole under 4g.
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/1353123563-3103-5-git-send-email-yinghai@kernel.org
Reviewed-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
20 lines
510 B
C
20 lines
510 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 */
|