From: Mark Salter Date: Fri, 10 Jan 2014 19:26:06 +0000 (-0500) Subject: efi: create memory map iteration helper X-Git-Tag: omap-for-v3.16/fixes-against-rc1~56^2~12^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e885cd805fc6e65ef5150a211c7bac02f925af04;p=pandora-kernel.git efi: create memory map iteration helper There are a lot of places in the kernel which iterate through an EFI memory map. Most of these places use essentially the same for-loop code. This patch adds a for_each_efi_memory_desc() helper to clean up all of the existing duplicate code and avoid more in the future. Signed-off-by: Mark Salter Signed-off-by: Leif Lindholm Signed-off-by: Matt Fleming --- Reading git-diff-tree failed