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
This commit is contained in:
Jörg Hohensohn 2004-03-13 16:45:18 +00:00
parent 4cee740afa
commit 81e309dd1a
3 changed files with 4 additions and 4 deletions

View file

@ -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;