Linaro 4.8+ fixes

Signed-off-by: evolutionmod <kernelcraft@gmail.com>