Home
last modified time | relevance | path

Searched hist:"9 e3f84ce" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/sh/include/asm/
H A Dcmpxchg-xchg.h9e3f84ce Fri Jan 08 01:23:58 CST 2016 Michael S. Tsirkin <mst@redhat.com> sh: move xchg_cmpxchg to a header by itself

Looks like future sh variants will support a 4-byte cas which will be
used to implement 1 and 2 byte xchg.

This is exactly what we do for llsc now, move the portable part of the
code into a separate header so it's easy to reuse.

Suggested-by: Rich Felker <dalias@libc.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
9e3f84ce Fri Jan 08 01:23:58 CST 2016 Michael S. Tsirkin <mst@redhat.com> sh: move xchg_cmpxchg to a header by itself

Looks like future sh variants will support a 4-byte cas which will be
used to implement 1 and 2 byte xchg.

This is exactly what we do for llsc now, move the portable part of the
code into a separate header so it's easy to reuse.

Suggested-by: Rich Felker <dalias@libc.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
H A Dcmpxchg-llsc.h9e3f84ce Fri Jan 08 01:23:58 CST 2016 Michael S. Tsirkin <mst@redhat.com> sh: move xchg_cmpxchg to a header by itself

Looks like future sh variants will support a 4-byte cas which will be
used to implement 1 and 2 byte xchg.

This is exactly what we do for llsc now, move the portable part of the
code into a separate header so it's easy to reuse.

Suggested-by: Rich Felker <dalias@libc.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
9e3f84ce Fri Jan 08 01:23:58 CST 2016 Michael S. Tsirkin <mst@redhat.com> sh: move xchg_cmpxchg to a header by itself

Looks like future sh variants will support a 4-byte cas which will be
used to implement 1 and 2 byte xchg.

This is exactly what we do for llsc now, move the portable part of the
code into a separate header so it's easy to reuse.

Suggested-by: Rich Felker <dalias@libc.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>