}
-void _rtw_mutex_init(_mutex *pmutex)
-{
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,37))
- mutex_init(pmutex);
-#else
- init_MUTEX(pmutex);
-#endif
-}
-
-void _rtw_mutex_free(_mutex *pmutex);
-void _rtw_mutex_free(_mutex *pmutex)
-{
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,37))
- mutex_destroy(pmutex);
-#else
-#endif
-}
-
-
void _rtw_init_queue(_queue *pqueue)
{
INIT_LIST_HEAD(&(pqueue->queue));
}
-void rtw_msleep_os(int ms)
-{
- msleep((unsigned int)ms);
-}
-
void rtw_usleep_os(int us)
{
// msleep((unsigned int)us);