diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-06-18 20:02:40 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-06-18 20:02:40 +0000 |
commit | e3a554007303d79b4656f361b4151130cdab7db8 (patch) | |
tree | dcdbf422742b2780251e0642ce3d132e140306f2 /nuttx/mm | |
parent | de29a1f8a94095e066f7dc2d568abbbf9f1012df (diff) | |
download | px4-nuttx-e3a554007303d79b4656f361b4151130cdab7db8.tar.gz px4-nuttx-e3a554007303d79b4656f361b4151130cdab7db8.tar.bz2 px4-nuttx-e3a554007303d79b4656f361b4151130cdab7db8.zip |
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
Diffstat (limited to 'nuttx/mm')
-rw-r--r-- | nuttx/mm/mm_sem.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nuttx/mm/mm_sem.c b/nuttx/mm/mm_sem.c index e8c669e4d..4b7563c0b 100644 --- a/nuttx/mm/mm_sem.c +++ b/nuttx/mm/mm_sem.c @@ -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 */ |