CoCalc -- Collaborative Calculation in the Cloud
Sharedwww / t42 / deletedOpen in CoCalc
<tt>
  /usr/src/linux/kernel/power/process.c
</tt>
by changing
<pre>
#define smp_pause() do { } while(0)
#define smp_continue() do { } while(0)
#define smp_lowlevel_suspend() do { } while(0)
</pre>
to 
<pre>
void smp_pause(void) {
    do { } while (0);
}

void smp_continue(void) {
    do { } while (0);
}

void smp_lowlevel_suspend(void) {
    do { } while (0);
}
</pre>

I also had to change the file 
<tt>
  /usr/src/linux/kernel/power/ui.c
</tt>
because it won't compile if debuging isn't set (and I don't want
debuging output).  I guess the authors haven't tried to compile
without debuging.  Anyway, change 
<pre>
EXPORT_SYMBOL(__printnolog);
</pre>
to 
<pre>
#ifdef CONFIG_SOFTWARE_SUSPEND_DEBUG
EXPORT_SYMBOL(__printnolog);
#endif
</pre>