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

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

diff -u --recursive --new-file v2.3.1/linux/arch/i386/kernel/apm.c linux/arch/i386/kernel/apm.c
@@ -314,7 +314,7 @@
 static int			debug = 0;
 static int			apm_disabled = 0;
 
-static struct wait_queue *	process_list = NULL;
+static DECLARE_WAIT_QUEUE_HEAD(process_list);
 static struct apm_bios_struct *	user_list = NULL;
 
 static struct timer_list	apm_timer;

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