linux-mips
[Top] [All Lists]

Re: [PATCH] ipc: Add missing sys_ni entries for ipc/compat.c functions

To: Kevin Cernekee <cernekee@gmail.com>
Subject: Re: [PATCH] ipc: Add missing sys_ni entries for ipc/compat.c functions
From: Ralf Baechle <ralf@linux-mips.org>
Date: Tue, 17 May 2011 11:01:49 +0100
Cc: Andrew Morton <akpm@linux-foundation.org>, Al Viro <viro@zeniv.linux.org.uk>, Stephen Rothwell <sfr@canb.auug.org.au>, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org
In-reply-to: <cb0939f54999dd3754808f2c5fc1cf0f@localhost>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <cb0939f54999dd3754808f2c5fc1cf0f@localhost>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.21 (2010-09-15)
On Fri, May 13, 2011 at 05:07:28PM -0700, Kevin Cernekee wrote:
> Date:   Fri, 13 May 2011 17:07:28 -0700
> From: Kevin Cernekee <cernekee@gmail.com>
> To: Andrew Morton <akpm@linux-foundation.org>, Al Viro
>  <viro@zeniv.linux.org.uk>, Stephen Rothwell <sfr@canb.auug.org.au>
> Cc: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org
> Subject: [PATCH] ipc: Add missing sys_ni entries for ipc/compat.c functions
> Content-Type: text/plain; charset=us-ascii
> 
> When building with:
> 
> CONFIG_64BIT=y
> CONFIG_MIPS32_COMPAT=y
> CONFIG_COMPAT=y
> CONFIG_MIPS32_O32=y
> CONFIG_MIPS32_N32=y
> CONFIG_SYSVIPC is not set
> (and implicitly: CONFIG_SYSVIPC_COMPAT is not set)
> 
> the final link fails with unresolved symbols for:
> 
> compat_sys_semctl, compat_sys_msgsnd, compat_sys_msgrcv,
> compat_sys_shmctl, compat_sys_msgctl, compat_sys_semtimedop
> 
> The fix is to add cond_syscall declarations for all syscalls in
> ipc/compat.c
> 
> Signed-off-by: Kevin Cernekee <cernekee@gmail.com>

Acked-by: Ralf Baechle <ralf@linux-mips.org>

Thanks, Kevin!

  Ralf

<Prev in Thread] Current Thread [Next in Thread>