Add generalized ARM v6/v7 kernel memory functions patch