Linaro 4.8+ fixes
Signed-off-by: EvolutionMod <kernelcraft@gmail.com>