[linux-pm] [RFC PATCH v3] ARM hibernation/suspend-to-disk support

Pavel Machek pavel at ucw.cz
Thu Jun 2 18:18:37 EDT 2011


Hi!

> Please let me know what you think,
> Thanks in advance,

> +void save_processor_state(void)
> +{
> +	flush_thread();
> +	local_fiq_disable();
> +#ifdef CONFIG_ARM_MACH_HIBERNATION_HOOK
> +	mach_save_state();
> +#endif
> +}

Could we always define mach_save_state, and get rid of ifdef?

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html



More information about the linux-arm-kernel mailing list