Fix an error that caused interrupts to become disabled

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3724 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2011-06-18 20:02:40 +00:00
parent fe7a627a50
commit 58a68260c3
3 changed files with 74 additions and 60 deletions
+2
View File
@@ -200,7 +200,9 @@ void mm_takesemaphore(void)
void mm_givesemaphore(void)
{
#ifdef CONFIG_DEBUG
pid_t my_pid = getpid();
#endif
/* I better be holding at least one reference to the semaphore */