summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2010-12-29 14:10:00 +0000
committerMichael Sevakis <jethead71@rockbox.org>2010-12-29 14:10:00 +0000
commit7f31e38ac12884db251734482e0d37174c62e40b (patch)
tree50745c7f5dabbbb247af3988913127f136a9cd48
parenta24b140c0bb1d16257c16b1711d2c3ea5f3a713b (diff)
downloadrockbox-7f31e38ac12884db251734482e0d37174c62e40b.tar.gz
rockbox-7f31e38ac12884db251734482e0d37174c62e40b.zip
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.c2
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;
40 * inside a handler */ 40 * inside a handler */
41static SDL_mutex *sim_irq_mtx; 41static SDL_mutex *sim_irq_mtx;
42/* Level: 0 = enabled, not 0 = disabled */ 42/* Level: 0 = enabled, not 0 = disabled */
43static int interrupt_level = HIGHEST_IRQ_LEVEL; 43static int volatile interrupt_level = HIGHEST_IRQ_LEVEL;
44/* How many handers waiting? Not strictly needed because CondSignal is a 44/* How many handers waiting? Not strictly needed because CondSignal is a
45 * noop if no threads were waiting but it filters-out calls to functions 45 * noop if no threads were waiting but it filters-out calls to functions
46 * with higher overhead and provides info when debugging. */ 46 * with higher overhead and provides info when debugging. */