diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-12-19 23:35:42 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-12-19 23:35:42 +0000 |
commit | 0df38260e86e05a2cc61f41c4b43612a111b342a (patch) | |
tree | 4e46788116cac8fd425c4cca329b5b2399edaf94 | |
parent | 32a6262b5443f9bb50dd1563f755b675d690ebc6 (diff) |
Enable sleep() on MIPS targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19493 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/thread.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/thread.c b/firmware/thread.c index 70dba6115e..f779ca3ae0 100644 --- a/firmware/thread.c +++ b/firmware/thread.c @@ -1076,6 +1076,7 @@ static inline void core_sleep(void) ".set mips0 \n" ::: "t0", "t1", "t2" ); + enable_irq(); } |