[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080102141127.GA11870@clifford.at>
Date: Wed, 2 Jan 2008 15:11:27 +0100
From: Clifford Wolf <clifford@...fford.at>
To: lkml <linux-kernel@...r.kernel.org>
Subject: [patch] powerpc systbl.h broken
Hi,
In current 2.6.23 (I have checked 2.6.23.12 and 2.6.23.9) the end of
include/asm-powerpc/systbl.h reads:
--snip--
SYSCALL_SPU(getcpu)
COMPAT_SYS(epoll_pwait)
COMPAT_SYS_SPU(utimensat)
COMPAT_SYS(fallocate)
COMPAT_SYS_SPU(signalfd)
COMPAT_SYS_SPU(timerfd)
SYSCALL_SPU(eventfd)
COMPAT_SYS_SPU(sync_file_range2)
--snap--
This obviously does not match the definitions in asm-powerpc/unistd.h:
--snip--
#define __NR_getcpu 302
#define __NR_epoll_pwait 303
#define __NR_utimensat 304
#define __NR_signalfd 305
#define __NR_timerfd 306
#define __NR_eventfd 307
#define __NR_sync_file_range2 308
#define __NR_fallocate 309
--snap--
which breaks the system calls 305 to 309 inclusive.
I've attached the simple patch which fixes the problem.
yours,
- clifford
--
"Any sufficiently advanced technology is indistinguishable from magic."
- Arthur C. Clarke
View attachment "powerpc-systbl.h" of type "text/plain" (422 bytes)
Powered by blists - more mailing lists