[PATCH] dm: use newly added linux/compat alloc functions