InsertAscendingList adaption

svn path=/trunk/; revision=7753
This commit is contained in:
Gunnar Dalsnes
2004-01-18 22:30:39 +00:00
parent 28618ae6f8
commit e7ec8c60bf
2 changed files with 8 additions and 8 deletions
+5 -5
View File
@@ -42,11 +42,11 @@ KeInsertByKeyDeviceQueue (
}
/* Insert new entry after the last entry with SortKey less or equal to passed-in SortKey */
InsertAscendingList(&DeviceQueue->DeviceListHead,
&DeviceQueueEntry->DeviceListEntry,
KDEVICE_QUEUE_ENTRY,
DeviceListEntry,
SortKey);
InsertAscendingListFIFO(&DeviceQueue->DeviceListHead,
KDEVICE_QUEUE_ENTRY,
DeviceListEntry,
DeviceQueueEntry,
SortKey);
KeReleaseSpinLockFromDpcLevel(&DeviceQueue->Lock);
return(TRUE);
+3 -3
View File
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: timer.c,v 1.20 2003/12/26 10:47:20 gvg Exp $
/* $Id: timer.c,v 1.21 2004/01/18 22:29:38 gdalsnes Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@@ -74,9 +74,9 @@ IntInsertTimerAscendingOrder(PMSG_TIMER_ENTRY NewTimer, BOOL SysTimer)
ListHead = SysTimer ? &SysTimerListHead : &TimerListHead;
InsertAscendingList(ListHead,
&NewTimer->ListEntry,
MSG_TIMER_ENTRY,
ListEntry,
ListEntry,
NewTimer,
Timeout.QuadPart);
return IsFirstEntry(ListHead, &NewTimer->ListEntry);