Commit b9bd8a0d authored by Jan Kiszka's avatar Jan Kiszka

wrappers: Add mmiowb stub for kernels >= 5.2

This was folded into spin_unlock, thus obsoleted. Keep it for older
kernels.
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent 97270814
......@@ -162,4 +162,8 @@ devm_hwmon_device_register_with_groups(struct device *dev, const char *name,
#define SO_SNDTIMEO_OLD SO_SNDTIMEO
#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,2,0)
#define mmiowb() do { } while (0)
#endif
#endif /* _COBALT_ASM_GENERIC_WRAPPERS_H */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment