linux/arch/openrisc
Peter Zijlstra 8b549c18ae openrisc: Define memory barrier mb
This came up in the discussion of the requirements of qspinlock on an
architecture.  OpenRISC uses qspinlock, but it was noticed that the
memmory barrier was not defined.

Peter defined it in the mail thread writing:

    As near as I can tell this should do. The arch spec only lists
    this one instruction and the text makes it sound like a completion
    barrier.

This is correct so applying this patch.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
[shorne@gmail.com:Turned the mail into a patch]
Signed-off-by: Stafford Horne <shorne@gmail.com>
2021-05-15 16:00:10 +09:00
..
boot openrisc: Add vmlinux.bin target 2021-01-01 14:59:57 +09:00
configs openrisc: add support for LiteX 2020-11-12 06:31:04 +09:00
include openrisc: Define memory barrier mb 2021-05-15 16:00:10 +09:00
kernel openrisc: Fix a memory leak 2021-04-28 21:40:44 +09:00
lib treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
mm openrisc: mm/init.c: remove unused variable 'end' in paging_init() 2021-05-10 06:22:43 +09:00
Kbuild openrisc: add arch/openrisc/Kbuild 2021-01-18 20:53:14 +09:00
Kconfig timekeeping: default GENERIC_CLOCKEVENTS to enabled 2020-10-30 21:57:07 +01:00
Kconfig.debug treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile openrisc: add arch/openrisc/Kbuild 2021-01-18 20:53:14 +09:00