Home
last modified time | relevance | path

Searched hist:"5 bea2becf3b6897315fa01d8318df75526855745" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/arch/arc/include/asm/
H A Dio.h5bea2becf3b6897315fa01d8318df75526855745 Wed Jun 08 05:24:54 UTC 2016 Alexey Brodkin <abrodkin@synopsys.com> arc: Update data accessors with use of memory barriers

Memory barriers are proven to be a requirement for both compiler and
real hardware to properly serialize access to critical data.

For example if CPU or data bus it uses may do reordering of data
accesses absence of memory barriers might easily lead to very subtle and
hard to debug data corruptions.

This implementation was heavily borrowed from up to date Linux kernel.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>