LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [2.6 patch] fix xtensa timerfd breakage
@ 2008-02-07 23:25 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2008-02-07 23:25 UTC (permalink / raw)
  To: Davide Libenzi, chris; +Cc: linux-kernel

This patch fixes the following compile error:

<--  snip  -->

...
  CC      arch/xtensa/kernel/syscall.o
In file included from /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/xtensa/kernel/syscall.c:39:
include2/asm/unistd.h:681: error: 'sys_timerfd' undeclared here (not in a function)
make[2]: *** [arch/xtensa/kernel/syscall.o] Error 1

<--  snip  -->

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
a42376eff20647fda6dc1bde20e793f9b4001c39 diff --git a/include/asm-xtensa/unistd.h b/include/asm-xtensa/unistd.h
index 92968aa..98d9cd1 100644
--- a/include/asm-xtensa/unistd.h
+++ b/include/asm-xtensa/unistd.h
@@ -677,8 +677,8 @@ __SYSCALL(303, sys_ni_syscall, 0)
 
 #define __NR_signalfd				304
 __SYSCALL(304, sys_signalfd, 3)
-#define __NR_timerfd				305
-__SYSCALL(305, sys_timerfd, 4)
+/*  305 was __NR_timerfd  */
+__SYSCALL(305, sys_ni_syscall, 0)
 #define __NR_eventfd				306
 __SYSCALL(306, sys_eventfd, 1)
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-07 23:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-07 23:25 [2.6 patch] fix xtensa timerfd breakage Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).