Bug 10038

Summary: timerfd_*() system calls not enabled for MIPS
Product: Platform Specific/Hardware Reporter: Dmitri Vorobiev (dmitri.vorobiev)
Component: MIPSAssignee: Dmitri Vorobiev (dmitri.vorobiev)
Status: CLOSED CODE_FIX    
Severity: normal CC: dmitri.vorobiev
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.25-rc2 Subsystem:
Regression: --- Bisected commit-id:
Attachments: A simple unit test program for the timer_*() system calls

Description Dmitri Vorobiev 2008-02-18 12:44:33 UTC
Latest working kernel version: n/a
Earliest failing kernel version: n/a
Distribution: this bug is not distribution-dependent
Hardware Environment: Malta 4Kc
Software Environment: 2.6.25-rc2
Problem Description: While building the kernel for MIPS, the following messages are displayed:

<stdin>:1377:2: warning: #warning syscall timerfd_create not implemented
<stdin>:1389:2: warning: #warning syscall timerfd_settime not implemented
<stdin>:1393:2: warning: #warning syscall timerfd_gettime not implemented
Comment 1 Dmitri Vorobiev 2008-02-18 12:45:31 UTC
A fix will be posted very shortly. Reassigning the bug to myself.
Comment 2 Dmitri Vorobiev 2008-02-18 12:48:50 UTC
Created attachment 14888 [details]
A simple unit test program for the timer_*() system calls

This is a very simple sanity-check-like unit test program, which verifies the functionality of the timerfd_create(), timerfd_settime() and timerfd_gettime() Linux system calls.
Comment 3 Dmitri Vorobiev 2008-02-18 13:13:14 UTC
Patch is proposed here:

http://lkml.org/lkml/2008/2/18/446
Comment 4 Dmitri Vorobiev 2008-02-19 11:57:22 UTC
Ralf added the missing ABIs and applied this to linux-mips git tree. Closing this bug.