RE: [microblaze-uclinux] [PATCH v2] microblaze: nommu: Don'tclobber R11 on syscalls

From: Steven J. Magnani
Date: Mon Dec 14 2009 - 23:41:40 EST


On Mon, 2009-12-14 at 14:50 -0800, Jim Van Vorst wrote:
> Isn't R11 a temporary? If it doesn't need to be preserved across function
> calls, why can't it be clobbered during a syscall?

Because the Microblaze syscall macros don't include r11 in the clobber
list. I suppose an alternative solution would just change the userspace
macros and not the kernel, even though there is a bug in the kernel.

Michal, is the Microblaze ABI considered "locked down" now, or is a
kernel solution still permitted?

------------------------------------------------------------------------
Steven J. Magnani "I claim this network for MARS!
www.digidescorp.com Earthling, return my space modulator!"

#include <standard.disclaimer>



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/