lkml.org 
[lkml]   [2002]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject2.4.20-pre1-ac1: apm.c non SMP compile error
apm_save_cpus() is defined without parameters for non-SMP, breaks
compile.

--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>--- linux/arch/i386/kernel/apm.c.orig Wed Aug 7 22:59:06 2002
+++ linux/arch/i386/kernel/apm.c Wed Aug 7 22:56:55 2002
@@ -524,7 +524,7 @@
* No CPU lockdown needed on a uniprocessor
*/

-#define apm_save_cpus 0
+#define apm_save_cpus() 0
#define apm_restore_cpus(x)

#endif
\
 
 \ /
  Last update: 2005-03-22 13:22    [W:0.061 / U:5.804 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site