From 81e309dd1a768c2fcf2cc9e6acd16dc01f9ce360 Mon Sep 17 00:00:00 2001 From: Jörg Hohensohn Date: Sat, 13 Mar 2004 16:45:18 +0000 Subject: We had a few set_irq_level(15) left in the code, instead of the new set_irq_level(HIGHEST_IRQ_LEVEL). Only one was really used, in system_reboot(), creating a (unlikely) race condition. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4374 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/win32/kernel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'uisimulator') diff --git a/uisimulator/win32/kernel.c b/uisimulator/win32/kernel.c index 466950eba0..9c82435df2 100644 --- a/uisimulator/win32/kernel.c +++ b/uisimulator/win32/kernel.c @@ -86,7 +86,7 @@ void queue_post(struct event_queue *q, int id, void *data) int wr; int oldlevel; - oldlevel = set_irq_level(15); + oldlevel = set_irq_level(HIGHEST_IRQ_LEVEL); wr = (q->write++) & QUEUE_LENGTH_MASK; q->events[wr].id = id; -- cgit v1.2.3