# \[PATCH v3 13/41\] x86: reuse asm-generic/barrier.h

- From: Thomas Gleixner \<hidden\>
- Date: 2016-01-12 14:14:34 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2016/01/4658611
- Thread: https://ratatoskr.run/linux-arch/2016/01/4656797/t.md

```text
On Sun, 10 Jan 2016, Michael S. Tsirkin wrote:

> As on most architectures, on x86 read_barrier_depends and
> smp_read_barrier_depends are empty.  Drop the local definitions and pull
> the generic ones from asm-generic/barrier.h instead: they are identical.
> 
> This is in preparation to refactoring this code area.
> 
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> Acked-by: Arnd Bergmann <arnd@arndb.de>

Reviewed-by: Thomas Gleixner <redacted>
```
