[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] mini-os: Add suspend stubs for ARM



Costin Lupu, le mer. 19 août 2020 19:20:09 +0300, a ecrit:
> +void arch_pre_suspend(void)
> +{
> +}
> +
> +void arch_post_suspend(int canceled)
> +{
> +}
> +
> +int arch_suspend(void)
> +{
> +    printk("Suspend not supported on ARM. Aborting.");
> +    do_exit();
> +    return 1;
> +}

Rather put arch_suspend between arch_pre_suspend and arch_post_suspend,
so they are in the calling order. Same for x86.

Samuel



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.