OSDN Git Service

avr32: add varargs handling of prctl syscall
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Wed, 16 Dec 2009 12:16:08 +0000 (13:16 +0100)
committerHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Thu, 21 Jan 2010 10:31:33 +0000 (11:31 +0100)
commit2b69e9906e5087a796b3a15e9aabcd102c705b19
tree577d8bafad675828fb53b7a9fbe65bf26392ca6f
parent831ea78623556cbfae002477afc6256cacaaf2c6
avr32: add varargs handling of prctl syscall

prctl is defined to use varargs in the header file, hence it needs varargs
specific handling in the source. This patch properly handles the variodic
argument before the syscall is passed to the kernel for the AVR32 architecture.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
libc/sysdeps/linux/avr32/Makefile.arch
libc/sysdeps/linux/avr32/prctl.c [new file with mode: 0644]