path: root/arch/mips/reloc.h
diff options
authorRich Felker <>2012-09-10 22:43:22 -0400
committerRich Felker <>2012-09-10 22:43:22 -0400
commitb94067eeae894b5a26170cebc378261f83ad00cb (patch)
tree33d1536ced6a1eef7f3d49658128db782ed489fc /arch/mips/reloc.h
parent2bf469310de6793228c103691859ed4d3158b117 (diff)
eliminate assumption that mips syscall restart preserves r25
all past and current kernel versions have done so, but there seems to be no reason it's necessary and the sentiment from everyone I've asked has been that we should not rely on it. instead, use r7 (an argument register) which will necessarily be preserved upon syscall restart. however this only works for 0-3 argument syscalls, and we have to resort to the function call for 4-argument syscalls.
Diffstat (limited to 'arch/mips/reloc.h')
0 files changed, 0 insertions, 0 deletions