mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 13:43:55 +08:00
db79e0292d
Define microblaze barrier. Signed-off-by: Stefan Asserhall <stefan.asserhall@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de>
14 lines
313 B
C
14 lines
313 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (c) 2015 - 2020 Xilinx, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef _ASM_MICROBLAZE_BARRIER_H
|
|
#define _ASM_MICROBLAZE_BARRIER_H
|
|
|
|
#define mb() __asm__ __volatile__ ("mbar 1" : : : "memory")
|
|
|
|
#include <asm-generic/barrier.h>
|
|
|
|
#endif /* _ASM_MICROBLAZE_BARRIER_H */
|