patch-2.3.1 linux/arch/i386/kernel/apm.c

Next file: linux/arch/i386/kernel/init_task.c
Previous file: linux/arch/i386/defconfig
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.0/linux/arch/i386/kernel/apm.c linux/arch/i386/kernel/apm.c
@@ -1017,7 +1017,7 @@
 	struct apm_bios_struct *	as;
 	int			i;
 	apm_event_t		event;
-	struct wait_queue	wait = { current,	NULL };
+        DECLARE_WAITQUEUE(wait, current);
 
 	as = fp->private_data;
 	if (check_apm_bios_struct(as, "read"))

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)