Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3381959d authored by Alok Kataria's avatar Alok Kataria Committed by Ingo Molnar
Browse files

x86: cleanup e820_setup_gap(), add e820_search_gap(), v2



This is a preparatory patch for the next patch in series.
Moves some code from e820_setup_gap to a new function e820_search_gap.
This patch is a part of a bug fix where we walk the ACPI table to calculate
a gap for PCI optional devices.

v1->v2: Patch on top of tip/master.
	Fixes a bug introduced in the last patch about the typeof "last".
	Also the new function e820_search_gap now returns if we found a gap in
	e820_map.

Signed-off-by: default avatarAlok N Kataria <akataria@vmware.com>
Cc: lenb@kernel.org
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent c987d12f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment