I'm working on SwSusp mips version.
But, I have a problem restore and save processor context.
This is the porting guide that I referenced.
I implemented
__save_processor_state(&saved_context);
__restore_processor_state(&saved_context);
__restore_processor_state(&saved_context);
But,
int swsusp_arch_suspend(void);
int swsusp_arch_resume(void);
are not.
Is there any person who have an experience same as me?
or any patch URL exists?