Re: [PATCH] FRV: Wire up new syscalls

From: David Howells
Date: Wed Jul 01 2009 - 08:42:22 EST


Paul Mackerras <paulus@xxxxxxxxx> wrote:

> I did a generic implementation using irq disable on UP and hashed
> spin-locks on SMP. See 09d4e0ed for the implementation

I can do better than that on FRV. FRV has load/store-double instructions that
I can use to atomically load/store 64-bit memory locations by using paired
registers for the data.

David
--
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/