Shane McDonald wrote:
Hello David:
On Tue, Apr 21, 2009 at 3:33 PM, David Daney <ddaney@xxxxxxxxxxxxxxxxxx
<mailto:ddaney@xxxxxxxxxxxxxxxxxx>> 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