diff options
author | Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> | 2008-09-17 13:39:45 +0200 |
---|---|---|
committer | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-09-19 18:21:31 +0200 |
commit | 73d4393d1df4ff3892b040396f101ede94e9e846 (patch) | |
tree | e819398b568c074c1d68d39173bfd68529966168 /arch/avr32/kernel/traps.c | |
parent | avr32: add generic_find_next_le_bit bit function (diff) | |
download | linux-73d4393d1df4ff3892b040396f101ede94e9e846.tar.xz linux-73d4393d1df4ff3892b040396f101ede94e9e846.zip |
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 <hans-christian.egtvedt@atmel.com>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/kernel/traps.c')
0 files changed, 0 insertions, 0 deletions