summaryrefslogtreecommitdiff
path: root/arch/x86/lib/efi
diff options
context:
space:
mode:
authorAlexey Brodkin <abrodkin@synopsys.com>2016-06-08 08:24:54 +0300
committerAlexey Brodkin <abrodkin@synopsys.com>2016-06-13 14:38:05 +0200
commit5bea2becf3b6897315fa01d8318df75526855745 (patch)
tree14c484611c8cbbe144c980e3b0c2c9b6e3c66b11 /arch/x86/lib/efi
parentc7d8db66ffd1c20b6a27445af892c28305e64e8a (diff)
downloadu-boot-imx-5bea2becf3b6897315fa01d8318df75526855745.zip
u-boot-imx-5bea2becf3b6897315fa01d8318df75526855745.tar.gz
u-boot-imx-5bea2becf3b6897315fa01d8318df75526855745.tar.bz2
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>
Diffstat (limited to 'arch/x86/lib/efi')
0 files changed, 0 insertions, 0 deletions