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:37:24 +0000 (11:37 +0100)
commit43151dd167a2583760acec773b3c107be643843c
tree9f39eb125260a548031606d16bc0ae73a87a561d
parent784e157fadbf1622d381e7dc9e82d2510a690776
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]