linux-mips
[Top] [All Lists]

Re: [PATCH 1/2] MIPS: Preliminary vdso.

To: Shane McDonald <mcdonald.shane@gmail.com>
Subject: Re: [PATCH 1/2] MIPS: Preliminary vdso.
From: David Daney <ddaney@caviumnetworks.com>
Date: Wed, 22 Apr 2009 08:18:34 -0700
Cc: linux-mips@linux-mips.org, ralf@linux-mips.org
In-reply-to: <b2b2f2320904212224l1223737en95bffec015f1907e@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <49EE3B0F.3040506@caviumnetworks.com> <1240349605-1921-1-git-send-email-ddaney@caviumnetworks.com> <b2b2f2320904212224l1223737en95bffec015f1907e@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 2.0.0.21 (X11/20090320)
Shane McDonald wrote:
Hello David:

On Tue, Apr 21, 2009 at 3:33 PM, David Daney <ddaney@caviumnetworks.com <mailto:ddaney@caviumnetworks.com>> wrote:

    This is a preliminary patch to add a vdso to all user processes.
    Still missing are ELF headers and .eh_frame information.  But it is
    enough to allow us to move signal trampolines off of the stack.

    We allocate a single page (the vdso) and write all possible signal
    trampolines into it.  The stack is moved down by one page and the vdso
    is mapped into this space.


This patch fails to compile for me with an RM7035C-based system (out of tree, sadly). The error I see is:

  CC      arch/mips/kernel/syscall.o
arch/mips/kernel/syscall.c: In function 'arch_get_unmapped_area':
arch/mips/kernel/syscall.c:80: error: 'TASK_SIZE32' undeclared (first use in this function) arch/mips/kernel/syscall.c:80: error: (Each undeclared identifier is reported only once
arch/mips/kernel/syscall.c:80: error: for each function it appears in.)
make[1]: *** [arch/mips/kernel/syscall.o] Error 1


I never built a 32-bit kernel with the patch.  I will endeavor to fix this.

Thanks,
David Daney

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