From: Matt Fleming Date: Mon, 17 Mar 2014 15:36:37 +0000 (+0000) Subject: efivars: Add compatibility code for compat tasks X-Git-Tag: omap-for-v3.16/fixes-against-rc1~56^2~12^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e33655a386ed3b26ad36fb97a47ebb1c2ca1e928;p=pandora-kernel.git efivars: Add compatibility code for compat tasks It seems people are using 32-bit efibootmgr on top of 64-bit kernels, which will currently fail horribly when using the efivars interface, which is the traditional efibootmgr backend (the other being efivarfs). Since there is no versioning info in the data structure, figure out when we need to munge the structure data via judicious use of is_compat_task(). Cc: Mike Waychison Signed-off-by: Matt Fleming --- Reading git-diff-tree failed