core.c (5c34202b8bf942da411b6599668a76b07449bbfd) | core.c (831441862956fffa17b9801db37e6ea1650b0f69) |
---|---|
1/* 2 * pnpbios -- PnP BIOS driver 3 * 4 * This driver provides access to Plug-'n'-Play services provided by 5 * the PnP BIOS firmware, described in the following documents: 6 * Plug and Play BIOS Specification, Version 1.0A, 5 May 1994 7 * Plug and Play BIOS Clarification Paper, 6 October 1994 8 * Compaq Computer Corporation, Phoenix Technologies Ltd., Intel Corp. --- 146 unchanged lines hidden (view full) --- 155 156/* 157 * Poll the PnP docking at regular intervals 158 */ 159static int pnp_dock_thread(void * unused) 160{ 161 static struct pnp_docking_station_info now; 162 int docked = -1, d = 0; | 1/* 2 * pnpbios -- PnP BIOS driver 3 * 4 * This driver provides access to Plug-'n'-Play services provided by 5 * the PnP BIOS firmware, described in the following documents: 6 * Plug and Play BIOS Specification, Version 1.0A, 5 May 1994 7 * Plug and Play BIOS Clarification Paper, 6 October 1994 8 * Compaq Computer Corporation, Phoenix Technologies Ltd., Intel Corp. --- 146 unchanged lines hidden (view full) --- 155 156/* 157 * Poll the PnP docking at regular intervals 158 */ 159static int pnp_dock_thread(void * unused) 160{ 161 static struct pnp_docking_station_info now; 162 int docked = -1, d = 0; |
163 set_freezable(); |
|
163 while (!unloading) 164 { 165 int status; 166 167 /* 168 * Poll every 2 seconds 169 */ 170 msleep_interruptible(2000); --- 471 unchanged lines hidden --- | 164 while (!unloading) 165 { 166 int status; 167 168 /* 169 * Poll every 2 seconds 170 */ 171 msleep_interruptible(2000); --- 471 unchanged lines hidden --- |