[FOSS_TLK]platform: tegra: fix usleep/nanosleep
[3rdparty/ote_partner/tlk.git] / kernel / syscall.c
index c75b08f..949c026 100644 (file)
@@ -366,7 +366,7 @@ bool platform_syscall_handler(void *arg)
                r[0] = task->curr_brk;
                return true;
        }
-       if (r[12] == __NR_usleep) {     /* usleep */
+       if (r[12] == __NR_nanosleep) {  /* nanosleep */
                struct timespec *ts;
 
                /* check buffer is in task's address space */