lkml.org 
[lkml]   [2002]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: Linux 2.4.20-pre1 - compile errors
Date
> apm.c: In function `apm_bios_call':
> apm.c:605: called object is not a function
> apm.c:605: warning: unused variable `cpus'

Doh, silly macro bug

--- arch/i386/kernel/apm.c~ 2002-08-07 10:53:16.000000000 +0100
+++ arch/i386/kernel/apm.c 2002-08-07 10:53:16.000000000 +0100
@@ -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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:27    [W:0.073 / U:0.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site