This patch fixes the build on AArch64 (and potentially others). The patch has been submitted upstream. Signed-off-by: Will Newton <will.newton@linaro.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>