kernel/eka/memmodel/epoc/nvram.cpp
changeset 4 56f325a607ea
parent 0 a41df078684a
--- a/kernel/eka/memmodel/epoc/nvram.cpp	Mon Dec 21 16:14:42 2009 +0000
+++ b/kernel/eka/memmodel/epoc/nvram.cpp	Wed Dec 23 11:43:31 2009 +0000
@@ -131,9 +131,11 @@
 EXPORT_C void TInternalRamDrive::Wait()
 	{
 	Kern::MutexWait(*Mutex);
+	UNLOCK_USER_MEMORY();
 	}
 
 EXPORT_C void TInternalRamDrive::Signal()
 	{
+	LOCK_USER_MEMORY();
 	Kern::MutexSignal(*Mutex);
 	}