mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
x86, boot: add free_early to early reservation machanism
Add free_early to early reservation mechanism - this way early bootup failure paths can stop wasting memory. Signed-off-by: Huang Ying <ying.huang@intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
4a27214d7b
commit
50eae2a7c9
2 changed files with 23 additions and 0 deletions
|
|
@ -48,6 +48,7 @@ extern struct e820map e820;
|
|||
extern void update_e820(void);
|
||||
|
||||
extern void reserve_early(unsigned long start, unsigned long end, char *name);
|
||||
extern void free_early(unsigned long start, unsigned long end);
|
||||
extern void early_res_to_bootmem(void);
|
||||
|
||||
#endif/*!__ASSEMBLY__*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue