[PATCH] arm: ramdisk uimage support for arm

Pratyush Anand panand at redhat.com
Wed Dec 16 20:23:53 PST 2015


Hi Michele,

On 16/12/2015:09:06:36 AM, Michele Dionisio wrote:
> +/*
> + * Load the ramdisk into buffer.
> + *  If the supplied image is in uImage format use
> + *  uImage_load() to read the payload from the image.
> + */
> +char *slurp_ramdisk_arm(const char *filename, off_t *r_size)

This function is exactly as slurp_ramdisk_ppc(). So, why not we have a common
slurp_ramdisk() function usable for both arm and ppc.

~Pratyush



More information about the kexec mailing list