/* Returns the property linux,drconf-usable-memory if it exists (the property exists only in kexec/kdump kernels, added by kexec-tools)  */
static const u32* of_get_usable_memory(struct device_node *memory)
/* Returns the property linux,drconf-usable-memory if it exists (the property exists only in kexec/kdump kernels, added by kexec-tools)  */
static const u32* of_get_usable_memory(struct device_node *memory)
{
	const u32 *prop;
	u32 len;
	prop = of_get_property(memory, "linux,drconf-usable-memory", &len);
	if (!prop || len < sizeof(unsigned int))
		return 0;
	return prop;
}