x86: Add an mfence macro
authorSimon Glass <sjg@chromium.org>
Wed, 29 Apr 2015 02:25:14 +0000 (20:25 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 30 Apr 2015 03:02:34 +0000 (21:02 -0600)
commit837a136fc7cfb712858502a03c8d0ae91bea6e0d
treefec5a7c0728192268577dd5719f550bf3dcf3a63
parent1a06d2a3106f9de5a4b9bec68593593fcf930e3b
x86: Add an mfence macro

Provide access to this x86 instruction from C code.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/cpu.h