2.4.20-pre1-ac1: apm.c non SMP compile error

Eyal Lebedinsky (eyal@eyal.emu.id.au)
Wed, 07 Aug 2002 23:04:24 +1000


This is a multi-part message in MIME format.
--------------38F9E29C15A8D23A570837AA
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

apm_save_cpus() is defined without parameters for non-SMP, breaks
compile.

--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>
--------------38F9E29C15A8D23A570837AA
Content-Type: text/plain; charset=us-ascii;
 name="2.4.20-pre1-ac1-apm.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="2.4.20-pre1-ac1-apm.patch"

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

--------------38F9E29C15A8D23A570837AA--

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