Backport arch/arm/kernel/atags.c from 3.10