mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-02-01 07:42:18 +00:00
84ba5b15ac
* Enhance GPIO addon for Noctua Fans for the Qortector upcoming case. This will put PWM signal to real-time. * Fixed RDP not letting a user login if not logged out on Cinnamon release (reported by Crowetic) * Update i2c sensor db * Fixed DRM broadcast over HDMI 2+ * Ease up DHCP security only to prevent Brooklyn blocking routers. * Add possibility to add extra memory for Cinnamon Desktop Release * Fix error message of Software Render mode on Cinnamon Desktop * Add proper offset for HD screens for pixel array *Fixed HDMI jitter for videocore4 GPU * Enable all radios (including Bluetooth)
24 lines
507 B
C
24 lines
507 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __BARRIER_H
|
|
#define __BARRIER_H
|
|
|
|
#define mb() __asm__ __volatile__("mb": : :"memory")
|
|
#define rmb() __asm__ __volatile__("mb": : :"memory")
|
|
#define wmb() __asm__ __volatile__("wmb": : :"memory")
|
|
|
|
#define __smp_load_acquire(p) \
|
|
({ \
|
|
compiletime_assert_atomic_type(*p); \
|
|
__READ_ONCE(*p); \
|
|
})
|
|
|
|
#ifdef CONFIG_SMP
|
|
#define __ASM_SMP_MB "\tmb\n"
|
|
#else
|
|
#define __ASM_SMP_MB
|
|
#endif
|
|
|
|
#include <asm-generic/barrier.h>
|
|
|
|
#endif /* __BARRIER_H */
|