summaryrefslogtreecommitdiffstats
path: root/nuttx/mm/mm_sem.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-06-06 01:44:57 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-06-06 01:44:57 +0000
commitc74aee1fd199a074945059542297ed82dc2df3db (patch)
treee47988218982531e9c9d129ce3170d7efe1a3534 /nuttx/mm/mm_sem.c
parent9c344d90362db4b1a8b36e0678242af0298b1e1e (diff)
Fix a bad interrupt state in the PIC32 IDLE loop when the work queue is enabled
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4805 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/mm/mm_sem.c')
-rw-r--r--nuttx/mm/mm_sem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/mm/mm_sem.c b/nuttx/mm/mm_sem.c
index 4b7563c0b5..a2d9d5cd1b 100644
--- a/nuttx/mm/mm_sem.c
+++ b/nuttx/mm/mm_sem.c
@@ -2,7 +2,7 @@
* mm/mm_sem.c
*
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -129,7 +129,7 @@ int mm_trysemaphore(void)
}
else
{
- /* Try to tak the semaphore (perhaps waiting) */
+ /* Try to take the semaphore (perhaps waiting) */
if (sem_trywait(&g_mm_semaphore) != 0)
{