From: Alok Kataria Date: Tue, 24 Jun 2008 18:48:30 +0000 (-0700) Subject: x86: cleanup e820_setup_gap(), add e820_search_gap(), v2 X-Git-Tag: v2.6.27-rc1~1106^2~166 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3381959da5a00ae8289cfbd28b0b6d228f2d1d46;p=pandora-kernel.git 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: Alok N Kataria Cc: lenb@kernel.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed