Re: Linux 2.4.20-pre1 - compile errors

Alan Cox (alan@redhat.com)
Wed, 7 Aug 2002 05:53:36 -0400 (EDT)


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