diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2010-12-29 14:10:00 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2010-12-29 14:10:00 +0000 |
commit | 7f31e38ac12884db251734482e0d37174c62e40b (patch) | |
tree | 50745c7f5dabbbb247af3988913127f136a9cd48 | |
parent | a24b140c0bb1d16257c16b1711d2c3ea5f3a713b (diff) |
interrupt_level should've been volatile as well when I changed this file. Obtuseness FTW.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28924 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/target/hosted/sdl/kernel-sdl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/hosted/sdl/kernel-sdl.c b/firmware/target/hosted/sdl/kernel-sdl.c index 0b416858ea..d933b9097e 100644 --- a/firmware/target/hosted/sdl/kernel-sdl.c +++ b/firmware/target/hosted/sdl/kernel-sdl.c @@ -40,7 +40,7 @@ static SDL_cond *sim_thread_cond; * inside a handler */ static SDL_mutex *sim_irq_mtx; /* Level: 0 = enabled, not 0 = disabled */ -static int interrupt_level = HIGHEST_IRQ_LEVEL; +static int volatile interrupt_level = HIGHEST_IRQ_LEVEL; /* How many handers waiting? Not strictly needed because CondSignal is a * noop if no threads were waiting but it filters-out calls to functions * with higher overhead and provides info when debugging. */ |