From: Olof Johansson Date: Sun, 12 Feb 2012 21:24:28 +0000 (-0800) Subject: x86, efi: Add basic error handling X-Git-Tag: v3.4-rc1~153^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=140bf275d3e89e9b36851d5cf498dbbbecdf7ca8;p=pandora-kernel.git x86, efi: Add basic error handling It's not perfect, but way better than before. Mark efi_enabled as false in case of error and at least stop dereferencing pointers that are known to be invalid. The only significant missing piece is the lack of undoing the memblock_reserve of the memory that efi marks as in use. On the other hand, it's not a large amount of memory, and leaving it unavailable for system use should be the safer choice anyway. Signed-off-by: Olof Johansson Link: http://lkml.kernel.org/r/1329081869-20779-5-git-send-email-olof@lixom.net Acked-by: Matt Fleming Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed