diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-03-10 15:32:33 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-03-10 15:32:33 +0000 |
commit | 8e0c015c2120bf7d76a0c41d1160a745c3565a50 (patch) | |
tree | 60de505ed836f8805b07ead45c2fe36cfc15be6a /nuttx/drivers | |
parent | dda5be5c1fc672b5d9cb3a910b5e0cb0a41046c5 (diff) | |
download | px4-nuttx-8e0c015c2120bf7d76a0c41d1160a745c3565a50.tar.gz px4-nuttx-8e0c015c2120bf7d76a0c41d1160a745c3565a50.tar.bz2 px4-nuttx-8e0c015c2120bf7d76a0c41d1160a745c3565a50.zip |
Create sched_ufree and sched_kfree from sched_free; Use user-accessible heap to allocae stacks
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5725 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers')
-rw-r--r-- | nuttx/drivers/usbhost/usbhost_skeleton.c | 2 | ||||
-rw-r--r-- | nuttx/drivers/usbhost/usbhost_storage.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/drivers/usbhost/usbhost_skeleton.c b/nuttx/drivers/usbhost/usbhost_skeleton.c index c44a265e8..bc30eedd7 100644 --- a/nuttx/drivers/usbhost/usbhost_skeleton.c +++ b/nuttx/drivers/usbhost/usbhost_skeleton.c @@ -276,7 +276,7 @@ static inline void usbhost_freeclass(FAR struct usbhost_state_s *class) { DEBUGASSERT(class != NULL); - /* Free the class instance (perhaps calling sched_free() in case we are + /* Free the class instance (perhaps calling sched_kfree() in case we are * executing from an interrupt handler. */ diff --git a/nuttx/drivers/usbhost/usbhost_storage.c b/nuttx/drivers/usbhost/usbhost_storage.c index 2b14676d7..cb6af46b8 100644 --- a/nuttx/drivers/usbhost/usbhost_storage.c +++ b/nuttx/drivers/usbhost/usbhost_storage.c @@ -424,7 +424,7 @@ static inline void usbhost_freeclass(FAR struct usbhost_state_s *class) { DEBUGASSERT(class != NULL); - /* Free the class instance (calling sched_free() in case we are executing + /* Free the class instance (calling sched_kfree() in case we are executing * from an interrupt handler. */ |