From: Hans-Christian Egtvedt Date: Wed, 17 Sep 2008 11:39:45 +0000 (+0200) Subject: avr32: fix sys_sync_file_range() call convention X-Git-Tag: v2.6.27-rc7~15^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73d4393d1df4ff3892b040396f101ede94e9e846;p=pandora-kernel.git avr32: fix sys_sync_file_range() call convention On AVR32, all parameters beyond the 5th are passed on the stack. System calls don't use the stack -- they borrow a callee-saved register instead. This means that syscalls that take 6 parameters must be called through a stub that pushes the last parameter on the stack. This patch adds a stub for sync_file_range syscall on AVR32 architecture. Tested with uClibc snapshot. Signed-off-by: Hans-Christian Egtvedt Signed-off-by: Haavard Skinnemoen --- Reading git-diff-tree failed