Re: Linux 2.4.20-pre1 - compile errors

From: Alan Cox (alan@redhat.com)
Date: Wed Aug 07 2002 - 04:53:36 EST


> 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/



This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:35 EST