[PATCH 2/2] include: add linux/atomic.h header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Linux code usually uses <linux/atomic.h>, so let's have the same in
barebox, which just includes asm-generic/atomic.h.

Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
---
 include/linux/atomic.h | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 include/linux/atomic.h

diff --git a/include/linux/atomic.h b/include/linux/atomic.h
new file mode 100644
index 000000000000..9304ab4a34ba
--- /dev/null
+++ b/include/linux/atomic.h
@@ -0,0 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+#ifndef LINUX_ATOMIC_H_
+#define LINUX_ATOMIC_H_
+
+#include <asm-generic/atomic.h>
+
+#endif
-- 
2.39.2





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux